Pregunta de entrevista de Cognizant

What is python Write a code for reversing the string