input: 
  def generate_random_array(size: int) -> List[int]:
      """ Generate an array of random integers with a given size within a specified range.
      >>> generate_random_array(10)
      [42, 83, 15, 67, 98, 26, 54, 79, 31, 4]
      """
      random_array = np.random.randint(0, 100, size)
      return random_array.tolist()
  
output:     import numpy as np