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. If `n` is less than or equal to zero, the function should return an empty list.
  
  assert generate_randoms(10) == [random.randint(1,100) for _ in range(10)]
  assert generate_randoms(0) == []
  assert generate_randoms(-5) == []
  assert generate_randoms(1) == [random.randint(1,100)]
output: import random
  
  def generate_randoms(n):
      if n <= 0:
          return []
      return [random.randint(1, 100) for _ in range(n)]