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