input: Write a function to generate a set of random numbers in Python.
  def generate_randoms(n):
    # generate a set of n random numbers
    rands = []
    for _ in range(n):
      rands.append(random.randint(1,100))
    return rands
  
  assert generate_randoms(0) == []
  assert len(generate_randoms(10)) == 10
  assert all(1 <= num <= 100 for num in generate_randoms(5))
output: import random
  
  def generate_randoms(n):
    rands = []
    for _ in range(n):
      rands.append(random.randint(1, 100))
    return rands