input: 
  def gen_random_array() -> np.ndarray:
      """ Generate a 3x3 array of random integers ranging from 1 to 5.
      
      >>> print(gen_random_array())
      [[2 4 1]
       [3 2 5]
       [1 4 3]]
      
      >>> print(gen_random_array())
      [[1 2 3]
       [4 5 1]
       [2 3 4]]
      
      >>> print(gen_random_array())
      [[5 1 2]
       [3 4 5]
       [1 2 3]]
      """
  
output:     
      import numpy as np
      return np.random.randint(1, 6, (3, 3))
  