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(10) is not None
  assert isinstance(generate_randoms(10), list)
  assert len(generate_randoms(10)) == 10
  assert all(isinstance(x, int) for x in generate_randoms(10))
output: import random
  
  def generate_randoms(n):
    rands = []
    for _ in range(n):
      rands.append(random.randint(1, 100))
    return rands