Pregunta de entrevista de Esri

isPalindrome was the question in Python