<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
Error: Your function fails on reverse(“Python!”). It returns “!” when it should return “!nohtyP”.
<What do you expect to happen instead?>
Apparently, I can get the last of the string printed, but for some reason I cannot get it to loop.
rev = ‘’
length = len(text)
for i in range(length):
rev += text[length-1]
length -= 1
<do not remove the three backticks above> Any ideas?