input: from typing import List
  
  def generate_array(min: int, max: int) -> List[int]:
      """ Generate an array of random numbers between two specified values.
      >>> generate_array(0, 50)
      [45, 12, 37, 28, 19, 4, 33, 22, 8, 41, 15, 27, 39, 11, 9, 48, 30, 5, 35, 24, 18, 2, 32, 40, 21, 29, 14, 36, 43, 17]  # Example output
      """
      array = []
      for i in range(min, max):
          array.append(random.randint(min, max))
      return array
output:     
      import random
      array = []
      for i in range(min, max):
          array.append(random.randint(min, max))
      return array
  