input: Write a python function to generate a list of random numbers using the random module.
  assert len(randomList(10)) == 10
  assert len(randomList(5)) == 5
  assert all(isinstance(i, int) for i in randomList(20))
output: import random
  
  def randomList(n):
      return [random.randint(0, 100) for _ in range(n)]