Esri Interview Question

isPalindrome was the question in Python