Oops, try again. Your function fails on reverse("Python!"). It returns "None" when it should return "!nohtyP".
can somebody help me please? the hint said to try and loop through the text from the 1st letter to last. I tried doing that, but I obviously have something wrong here.(the function doesn't even return anything at all, never mind the wrong output).
any help is appreciated. thanx.
def reverse(text): for letter in range(len(text), (len(text) - len(text)-1)): return letter