I came across a strange Codecademy exercise that required a function that would take a string as input and return it in reverse order. The only problem was you could not use
def reverseThatString(theString): reversedString = "" lenOfString = len(theString) for i,j in enumerate(theString): lenOfString -= 1 reversedString += theString[lenOfString] return reversedString