input: Write a function to generate 10 random numbers between 1 and 100 and put them in a list. The function should return the list of random numbers.
  
  assert len(generate_random_list())==10
  assert all(1 <= num <= 100 for num in generate_random_list())
output: import random
  
  def generate_random_list():
      return [random.randint(1, 100) for _ in range(10)]