input: Write a function to generate random numbers within a given range.
  assert len(generate_random_numbers(1, 10)) == 10
  assert all(1 <= num <= 10 for num in generate_random_numbers(1, 10))
  assert len(generate_random_numbers(5, 15)) == 11
output: import random
  
  def generate_random_numbers(start, end):
      return [random.randint(start, end) for _ in range(end - start + 1)]