input: Write a function to generate a list of random integers using list comprehension.
  assert len(generate_random_list(5)) == 5
  assert all(1 <= num <= 100 for num in generate_random_list(10))
  assert isinstance(generate_random_list(3), list)
output: import random
  
  def generate_random_list(n):
      return [random.randint(1, 100) for _ in range(n)]