Hi, could someone tell me what's wrong with my code? I know that first of all, it's too short but I don't know what's missing. I'm stuck, please help me.
The error that shows up:
Oops, try again. Your function fails on reverse("Python!"). It returns "None" when it should return "!nohtyP".
def reverse(text): lst =  text = str(text) for char in text: lst.append(text[len(text) - 1]) print lst