input: from typing import List
  
  def generate_random_array(low: int, high: int, shape: List[int]) -> np.ndarray:
      """ Generate a numpy array of specified shape with random integers from a given range.
      >>> generate_random_array(1, 6, [3, 3])
      array([[2, 5, 1],
             [4, 2, 2],
             [3, 1, 5]])
      """
      import numpy as np
      return np.random.randint(low, high, size=shape)
output:     import numpy as np
      return np.random.randint(low, high, size=shape)