Oops, try again. Did you create a function called reverse? Your code threw a "local variable 'txtrv' referenced before assignment" error.
I expected that the function would (in a loop) add the (each time) last letter of the string to a new string, but I don't understand why it doesn't.
def reverse(text): for i in text : txtrv += text[len(text)-1] text -= text[len(text)-1] return txtrv