Clavis Insight interview question

Write a palindrome test in python.