I am stuck at the reverse practice.
This is my code, which I think will work but actually it turns out when the input is "python!", the output is "!!!" instead of the reverse.
Replace this line with your code. text = raw_input('Put the word: ') def reverse(text): a = '' for c in (len(text) - 1, -1, -1): a += text[c] return a <What do you expect to happen instead?>