input: Write a function to generate 10 random numbers between 1 and 100 and return them in a list. If the input is invalid then return an empty list.
  assert generate_random_numbers()==[random numbers]
  assert generate_random_numbers()==[random numbers]
  assert generate_random_numbers()==[random numbers]
  assert generate_random_numbers()==[random numbers]
  assert generate_random_numbers()==[random numbers]
output: import random
  
  def generate_random_numbers():
      return [random.randint(1, 100) for _ in range(10)]