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