题解 | #数字颠倒#
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
num_old=input()
num_new=""
for i in range(1,len(num_old)+1):
num_new+=num_old[-i]
print(num_new)
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
num_old=input()
num_new=""
for i in range(1,len(num_old)+1):
num_new+=num_old[-i]
print(num_new)
相关推荐