input: Write a function to check if a given number is a palindrome or not.
  assert is_palindrome(121) == True
  assert is_palindrome(12321) == True
  assert is_palindrome(12345) == False
  assert is_palindrome(1221) == True
output: def is_palindrome(number):
      return str(number) == str(number)[::-1]