input: Write a python function to reverse a given number.
  assert reverse_number(42) == 24
  assert reverse_number(12345) == 54321
  assert reverse_number(1001) == 1001
  assert reverse_number(98765) == 56789
output: def reverse_number(n):
      return int(str(n)[::-1])