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