input: Write a function to generate 10 random numbers and put them in a list.
  
  def generate_random_numbers():
      import random
      random_list = []
      for i in range(10):
          number = random.randint(1, 100)
          random_list.append(number)
      return random_list
  
  assert len(generate_random_numbers())==10
  assert all(1 <= number <= 100 for number in generate_random_numbers())
output: def generate_random_numbers():
      import random
      random_list = []
      for i in range(10):
          number = random.randint(1, 100)
          random_list.append(number)
      return random_list