Infosys Interview Question

how to reverse a string in python