I'm getting the following:
Oops, try again. Your function fails on reverse("Python!"). It returns "" when it should return "!nohtyP".
- So currently my understanding is I've created my function reverse
- I've created two array variables string and reverseString
- My first for loop is to put the characters of the input text in to the array "string"
- My second for loop is to then take the characters from string and put them in reverse order in to "reverseString".
def reverse(text): string =  reverseString =  for x in text: string.append(x) length = len(string) for y in range (0, length, -1): reverseString.append(string[y]) return reverseString