input: from typing import List
  import random
  
  def generate_array(min: int, max: int) -> List[int]:
      """ Generate an array of random numbers between two specified values. 
      >>> generate_array(0, 50)
      [34, 2, 45, ..., 23]  # Example output, actual values will vary
      """
      array = []
      for i in range(min, max):
          array.append(random.randint(min, max))
      return array
output:     array = []
      for i in range(min, max):
          array.append(random.randint(min, max))
      return array