input: Write a function to generate a set of random numbers in Python. If the input number of random numbers to generate is less than 1, return an empty set.
  
  def generate_randoms(n):
    # generate a set of n random numbers
    if n < 1:
      return set()
    rands = set()
    for _ in range(n):
      rands.add(random.randint(1,100))
    return rands
  
  assert generate_randoms(10) != set()
  assert generate_randoms(5) != set()
  assert generate_randoms(0) == set()
  assert generate_randoms(-3) == set()
output: import random
  
  def generate_randoms(n):
    if n < 1:
      return set()
    rands = set()
    for _ in range(n):
      rands.add(random.randint(1, 100))
    return rands