Oops, try again. Your function fails on reverse("Python!"). It returns "[7, 6, 5, 4, 3, 2, 1]" when it should return "!nohtyP".
My thought on solving this exercise was to make a list using the string "text". In this case i take txt and make it a list using the data from text, then I use range() to work from the last value text and work my way backwards from l to 0. As I work through the list backwards in the for loop I append the value to the flip list, then I return flip. However I get numbers (indexes), not the actual letters. What am I doing wrong here?
Thanks in advanced.
def reverse(text): l = len(text) txt = list(text) flip =  for x in range(l,0,-1): flip.append(x) return(flip)