input: Write a python function to generate a list of 'n' random numbers between 0 and 'm'.
  assert len(generate_random(5, 10)) == 5
  assert all(0 <= num <= 10 for num in generate_random(5, 10))
  assert len(generate_random(0, 10)) == 0
output: import random
  
  def generate_random(n, m):
      return [random.randint(0, m) for _ in range(n)]