标签: python
如果这是输入:
This is an example line of text.
那我怎么得到这个输出:
.txet fo enil elpmaxe na si sihT
答案 0 :(得分:1)
def my_function(x): return x[::-1] mytxt = my_function("I wonder how this text looks like backwards") print(mytxt)