题解 | #字符逆序#
字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
Python,基本功需要扎实:
while True:
try:
string = str(input().strip())
print(string[::-1])
except:
break
字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
Python,基本功需要扎实:
while True:
try:
string = str(input().strip())
print(string[::-1])
except:
break
相关推荐