input: Write a function to generate an array of random numbers between two specified values. The generated array should include numbers ranging from the minimum specified value to the maximum specified value.
  
  def generate_array(min, max):
      array = []
      for i in range(min, max):
          array.append(random.randint(min, max))
      return array
  
  assert generate_array(0, 50) is not None
  assert isinstance(generate_array(0, 50), list)
  assert min(generate_array(0, 50)) >= 0
  assert max(generate_array(0, 50)) <= 50
output: import random
  
  def generate_array(min, max):
      array = [random.randint(min, max) for _ in range(min, max)]
      return array