Con Edison interview question

write a for loop to reverse a string by using python