input: Write a function to generate an array of random numbers between two specified values. If the input values are not provided, the function should return an empty array.
  def generate_array(min=None, max=None):
   if min is None or max is None:
    return []
   array = [random.randint(min, max) for _ in range(min, max)]
   return array
  
  import random
  assert generate_array(0, 10) == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
  assert generate_array() == []
  assert generate_array(10, 20) == [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
  assert generate_array(-5, 5) == [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4]
  assert generate_array(5, 5) == []
output: 
  def generate_array(min=None, max=None):
   if min is None or max is None:
    return []
   array = [random.randint(min, max) for _ in range(min, max)]
   return array
  