题解 | #字符串反转#
字符串反转
https://www.nowcoder.com/practice/e45e078701ab4e4cb49393ae30f1bb04
while True: try: # 输入字符串 str1=input() # 字符串反转输出 print(str1[::-1]) except: break
字符串反转
https://www.nowcoder.com/practice/e45e078701ab4e4cb49393ae30f1bb04
while True: try: # 输入字符串 str1=input() # 字符串反转输出 print(str1[::-1]) except: break
相关推荐