题解 | #数字颠倒#
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
while True:
try:
print(input()[::-1])
except:
break
[::-1]来表示倒叙
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
while True:
try:
print(input()[::-1])
except:
break
[::-1]来表示倒叙
相关推荐