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 ranging from 1 to 100.
  assert generate_randoms(5) == a list of 5 random numbers between 1 and 100
  assert generate_randoms(10) == a list of 10 random numbers between 1 and 100
  assert generate_randoms(0) == []
output: import random
  
  def generate_randoms(n):
      return [random.randint(1, 100) for _ in range(n)]