输出逆序

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

posted @ 2021-09-12 23:24  zty666  阅读(56)  评论(0)    收藏  举报