Pergunta de entrevista da empresa Esri

isPalindrome was the question in Python