Guest User

Untitled

a guest
Oct 15th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. class Solution:
  2. def isPalindrome(self, x):
  3. """
  4. :type x: int
  5. :rtype: bool
  6. """
  7. return str(x)==str(x)[::-1]
Add Comment
Please, Sign In to add comment