Oops, try again. Your function fails on reverse("Python!"). It returns "None" when it should return "!nohtyP".
So I originally had the below code. It seems to do everything except print without the whitespaces. After looking at a couple of existing questions, this code prints instead of returns so I get why it doesn't work. Quick question though, how do I return this without white space?
def reverse(text): length = len(text) for word in text: length -= 1 print text[length], print reverse("Python!")
I then went and rewrote it to the below code, and got the same error message:
def reverse(text): length = len(text) reverse_list =  for word in text: length -= 1 reverse_list.append(text[length]) return str(reverse_list) print reverse("Python!")