Accenture interview question

write palindrome number in python