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 generate_randoms(5) != []
  assert generate_randoms(10) != generate_randoms(10)
  assert len(generate_randoms(7)) == 7
  assert all(1 <= i <= 100 for i in generate_randoms(1000))
output: import random
  
  def generate_randoms(n):
      return [random.randint(1, 100) for _ in range(n)]