input: from typing import List
  
  def generate_array(min: int, max: int) -> List[int]:
      """ Generates an array of random numbers between two specified values.
      >>> generate_array(0, 50)
      [42, 15, 37, 8, 49, 22, 3, 29, 18, 31, 2, 46, 39, 11, 44, 25, 7, 34, 9, 41, 20, 1, 28, 36, 12, 48, 5, 33, 14, 45, 24, 6, 27, 16, 32, 10, 47, 4, 19, 35, 26, 17, 21, 38, 13, 43, 23, 30, 40]
      """
output:     import random
      return [random.randint(min, max) for _ in range(50)]