Mobiloitte Interview Question

Write code for palindrome number in python