def is_palindrome(n): original = str(n) revert = original[-1 :: -1] return original == revert
Sign in to make a reply
Nobita