Loading the task…
A palindrome is a value that reads the same from left to right and from right to left. Given an integer x, return True if it is a palindrome. Negative numbers do not count as palindromes because the minus sign appears only on the left.
121True-121False10Falsedef is_palindrome_number(x: int) -> bool:
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in121True-121False10False0True12321True7True