input: Write a python function to generate a random integer between 0 and 9.
  assert 0 <= generate_random_integer() <= 9
  assert isinstance(generate_random_integer(), int)
output: import random
  
  def generate_random_integer():
      return random.randint(0, 9)