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