def is_palindrome(num): return str(num) == str(num)[::-1]