input: Write a python function to check if a number is a palindrome.
  assert is_palindrome(121) == True
  assert is_palindrome(12321) == True
  assert is_palindrome(123) == False
output: def is_palindrome(number):
      str_number = str(number)
      return str_number == str_number[::-1]