input: Write a function to generate a random integer within the range [0, 10). Return the generated integer.
  def generate_random_number():
      return random.randint(0, 9)
  
  assert generate_random_number() in range(0, 10)
  assert isinstance(generate_random_number(), int)
output: def generate_random_number():
      return random.randint(0, 9)