input: Write a function to generate a random integer within the range of 0 to 9 (inclusive) using Python. If the function returns a valid random integer, print it.
  
  import random
  
  def generate_random_number():
      return random.randint(0, 9)
  
  assert generate_random_number() in range(0, 10)
  assert isinstance(generate_random_number(), int)
output: import random
  
  def generate_random_number():
      return random.randint(0, 9)