input: Write a function to create a list of 10 random numbers in the range from 1 to 100. If the function is called without any parameters, it should return the generated list.
  
  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
  
  assert type(generate_random_list()) == list
  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