题解 | #字符逆序#这题应该是最短的了吧
字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
while True:
try:
str_input = input()
print(str_input[::-1])
except:
break
字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
while True:
try:
str_input = input()
print(str_input[::-1])
except:
break
相关推荐