题解 | #数字颠倒#
数字颠倒
https://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
while True:
try:
list1 = list(input())
a = len(list1)
j = a-1
list2 = []
for i in range(a):
list2.append(list1[j])
j -= 1
k = 0
for i in range(len(list2)):
print(list2[k], end='')
k += 1
except:
break

