Algoritt interview question

Palindrome checker code in Python