input: Write a function to generate a list containing 10 random integers between 1 and 100, inclusive.
  
  def generate_random_list():
      import random
      random_list = []
      for i in range(10):
          number = random.randint(1, 100)
          random_list.append(number)
      return random_list
  
  # Example test case
  assert len(generate_random_list()) == 10
  assert all(1 <= number <= 100 for number in generate_random_list())
output: def generate_random_list():
      import random
      random_list = []
      for i in range(10):
          number = random.randint(1, 100)
          random_list.append(number)
      return random_list