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