input: Write a function to generate a random number between 0 and 9 and print it. 
  
  import random
  
  def generate_random_number():
      random_num = random.randint(0, 9)
      print(random_num)
  
  # Test cases
  generate_random_number()
  generate_random_number()
  generate_random_number()
  
output: def generate_random_number():
      random_num = random.randint(0, 9)
      print(random_num)