Practice makes perfect - Reverse
There are no error messages. It only prints the middle letter of "cat"
I expected it to produce a list [t, a, c]
def reverse(x): #make sure x is a string word = str(x) #counting backwards from the length by -1 for i in range(len(word)-1, 0, -1): # starting an empty list rearrange =  #adding the letters from word to this list rearrange.append(word[i]) # getting rid of brackets, commas etc. NOT SURE HERE "".join.rearrage print rearrange return rearrange reverse("cat")