python之将一个字符串str的内容倒叙过来,并输出。

inStr = input()

flashback = inStr[::-1]

print(flashback)

posted @ 2020-07-09 13:03  方方不听话  阅读(909)  评论(0)    收藏  举报