input: Write a function to generate a list of 10 random numbers between 1 and 100. If the input list is empty, return an empty list.
  assert generate_random_list([])==[]
  assert len(generate_random_list([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]))==10
  assert all(1 <= num <= 100 for num in generate_random_list([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]))==True
output: import random
  
  def generate_random_list(input_list):
      if not input_list:
          return []
      return [random.randint(1, 100) for _ in range(10)]