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.
  
  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(5) != generate_randoms(5)  # Check that the output is random
  assert len(generate_randoms(10)) == 10
output: def generate_randoms(n):
    import random
    rands = []
    for _ in range(n):
      rands.append(random.randint(1,100))
    return rands