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. Here are some test cases to validate the function:
  
  assert generate_randoms(10) == [42, 15, 89, 33, 27, 74, 91, 55, 66, 12]  # Example output, actual values may vary
  assert generate_randoms(5) == [50, 3, 72, 99, 44]  # Example output, actual values may vary
  assert generate_randoms(0) == []
  assert generate_randoms(1) == [88]  # Example output, actual values may vary
output: import random
  
  def generate_randoms(n):
      if n == 0:
          return []
      return [random.randint(1, 100) for _ in range(n)]