

x, return true if x is palindrome integer.121 is palindrome while 123is not.-2 ^ 31 <= x <= 2^31 -1# leetcode, easy : Pailndrome Number, python3
class Solution:
def isPalindrome(self, x: int) -> bool:
return True if str(x) == str(x)[::-1] else False


