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.
  
  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 generate_random_numbers() is not None
  assert len(generate_random_numbers())==10
  assert all(1 <= num <= 100 for num 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