题解 | #字符逆序#
字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
while True:
try:
string1=list(map(str,input()))
string1.reverse()
s=''.join(string1)
print(s)
except:
break 字符逆序
http://www.nowcoder.com/practice/cc57022cb4194697ac30bcb566aeb47b
while True:
try:
string1=list(map(str,input()))
string1.reverse()
s=''.join(string1)
print(s)
except:
break 相关推荐
查看21道真题和解析