input: Write a function to generate a set of random numbers in Python. The function should take an integer `n` as input and return a list of `n` random numbers between 1 and 100. If `n` is 0, the function should return an empty list.
  
  assert generate_randoms(10)==[random.randint(1,100) for _ in range(10)]
  assert generate_randoms(5)==[random.randint(1,100) for _ in range(5)]
  assert generate_randoms(0)==[]
output: import random
  
  def generate_randoms(n):
      if n == 0:
          return []
      return [random.randint(1, 100) for _ in range(n)]