input: Write a function to generate a random number in the range [0, 10). The function should return the generated number as an integer.
  import random
  
  def generate_random_number():
      return random.randint(0, 9)
  
  assert generate_random_number() >= 0 and generate_random_number() < 10
  assert generate_random_number() >= 0 and generate_random_number() < 10
  assert generate_random_number() >= 0 and generate_random_number() < 10
output: import random
  
  def generate_random_number():
      return random.randint(0, 9)