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
A golfed version: r=lambda x:"".join(x[i] for i in range(len(x-1),-1,-1)).
r=lambda x:"".join(x[i] for i in range(len(x-1),-1,-1))