input: Write a python function to check if a number is a palindrome.
  assert isPalindrome(1991) == True
  assert isPalindrome(12321) == True
  assert isPalindrome(12345) == False
output: def isPalindrome(n):
      return str(n) == str(n)[::-1]