input: Write a function to generate an array of random numbers between two specified values. The function should take two parameters, `min` and `max`, and return an array containing random numbers within that range.
  
  
  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)
  assert generate_array(10, 30)
  assert generate_array(-10, 10)
  assert generate_array(5, 55)
  assert generate_array(0, 10)
output: import random
  
  def generate_array(min, max):
      array = []
      for i in range(min, max):
          array.append(random.randint(min, max))
      return array