Code Academy returns:
Oops, try again.
Does your reverse function take exactly one argument (a string)?
Your code threw a "'builtin_function_or_method' object has no attribute
I'm trying to convert the input string to a list, take the first entry on the list and append it to the end, then remove it from the beginning. I want this to repeat a number of times equal to the starting length of the list.
At the end, I want to rejoin the list into a string.
def reverse(text): string =  length = len(text) string = list(text) while length > 0: x = string string.remove length = length - 1 string.append(x) return ''.join(string)