input: Write a function to generate a set of random numbers in Python. The function should take an integer input `n` and return a list of `n` random numbers where each number is between 1 and 100 (inclusive). If `n` is not provided, the function should return an empty list.
  
  import random
  
  def generate_randoms(n=0):
    # generate a set of n random numbers
    rands = []
    for _ in range(n):
      rands.append(random.randint(1,100))
    return rands
  
  assert generate_randoms(10) != generate_randoms(10)  # Since the output is random
  assert generate_randoms() == []
  assert len(generate_randoms(15)) == 15
  assert all(1 <= x <= 100 for x in generate_randoms(20))
output: import random
  
  def generate_randoms(n=0):
    rands = []
    for _ in range(n):
      rands.append(random.randint(1,100))
    return rands