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