Cognizant Interview Question

What is python Write a code for reversing the string