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