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