Publicis Sapient Interview Question

Reverse the string in python