for i in range(len(text)-1,0,-1):
What's wrong in this code.It shows error message
File "python", line 4
SyntaxError: can't assign to function call
rtext = 
rtext = ""
range(len(text)-1, 0, -1)
range(len(text)-1, -1, -1)
rtext.append() = text[i]
it should be:
rtext += text[i]
Hope this helps
Yes,it worked and I understood my problem in code.
Thanks a lot.
Could you elaborate on this line? I understand the 1st -1, but after that I get a little confused....thanks!