input: Write a function to generate 10 random numbers and put them in a list. The function should return the generated list.
  import random
  
  def generate_random_numbers():
      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 <= num <= 100 for num in generate_random_numbers())
output: import random
  
  def generate_random_numbers():
      random_list = []
      for i in range(10):
          number = random.randint(1, 100)
          random_list.append(number)
      return random_list