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)
      [23, 45, 12, 34, 6, 42, 18, 8, 39, 47, 2, 27, 31, 15, 20, 29, 36, 49, 11, 26, 33, 5, 41, 30, 48, 14, 19, 3, 44, 21, 10, 35, 17, 38, 40, 24, 16, 7, 46, 4, 25, 1, 37, 9, 43, 22, 28]
      """
      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