input: Write a function to generate a random number between 0 and 9. If the function is called, it should return the randomly generated number.
  def generate_random_number():
      return random.randint(0, 9)
  
  assert generate_random_number() in range(10)
  assert generate_random_number() in range(10)
  assert generate_random_number() in range(10)
  assert generate_random_number() in range(10)
  assert generate_random_number() in range(10)
output: def generate_random_number():
      return random.randint(0, 9)