字符串逆序输出

input_str = input("请输入一个字符串")
print(input_str[::-1])

 

posted @ 2021-09-12 13:10  卢卓雯  阅读(108)  评论(0)    收藏  举报