input: Write a function to generate a list of random numbers within a specified range and length. If the length is zero, return an empty list. The function should take three parameters: the desired length of the list, the minimum value (inclusive), and the maximum value (inclusive) of the random numbers.
  import random
  
  def generate_random_numbers(length, min_value, max_value):
      if length == 0:
          return []
      return [random.uniform(min_value, max_value) for _ in range(length)]
  
  assert generate_random_numbers(5, 1, 10)
  assert generate_random_numbers(3, 0, 1)
  assert generate_random_numbers(0, 1, 10) == []
  assert generate_random_numbers(2, -5, 5)
  assert generate_random_numbers(4, 10, 20)
output: def generate_random_numbers(length, min_value, max_value):
      if length == 0:
          return []
      return [random.randint(min_value, max_value) for _ in range(length)]