Palindrome in Python: How to Check a Number or String is Palindrome?

Palindrome in Python: How to Check a Number or String is Palindrome?