input: Write a function to generate a list of random integers between 1 and 10.
  assert len(generate_random_integers(10)) == 10
  assert all(1 <= x <= 10 for x in generate_random_integers(20))
  assert type(generate_random_integers(5)) == list
output: import random
  
  def generate_random_integers(n):
      return [random.randint(1, 10) for _ in range(n)]