Question d’entretien chez Cognizant

What is python Write a code for reversing the string