input: Write a python function to generate a random number between 1 and 9.
  assert 1 <= random_number() <= 9
  assert isinstance(random_number(), int)
output: import random
  
  def random_number():
      return random.randint(1, 9)