Infosys interview question

how to reverse a string in python