input: Write a function to generate an array of random numbers between two specified values. The function should accept two parameters, the minimum value and the maximum value, and return an array of random integers within this range. 
  
  
  def generate_array(min, max):
      array = []
      
      for i in range(min, max):
          array.append(random.randint(min, max))
      
      return array
  
  
  ### Test Cases:
  - `assert generate_array(0, 50)` should return an array of length 50, filled with random integers all within the range of 0 to 50.
  - `assert generate_array(10, 20)` should return an array of length 10, filled with random integers all within the range of 10 to 20.
  - `assert generate_array(-10, 10)` should return an array of length 20, filled with random integers all within the range of -10 to 10.
output: import random
  
  def generate_array(min, max):
      array = []
      
      for i in range(min, max):
          array.append(random.randint(min, max))
      
      return array