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