def my_function(x): return x[::-1] mytxt = my_function("I wonder how this text looks like backwards") print(mytxt)