Pergunta de entrevista da empresa L&T Technology Services

string question in python how to check palindrome