here's my idea for clarification.
I want to list every letter in x, in reverse, in y.
each time a letter passes through the while loop, z will count down by one. z is equal to the length of x
when z reaches zero, y will print.
I get the error message:
Your function fails on reverse("Python!"). It returns "['!']" when it should return "!nohtyP".
in previous versions of my code, it prints the last letter, then the rest of the word normally "!python". I don't know how to get it back to that state.
I could also use some help as to proper use of .join() in this context.
def reverse(x): x = str(x) y =  z = (len(x)) while z != 0: for i in range(len(x)): y.append(x[i-1]) z += -1 return y else: print y