input: 
  def generate_random_array(size: int) -> list:
      """ Generate an array of random numbers within a specified range.
      >>> generate_random_array(5)
      [45, 12, 88, 9, 34]
      >>> generate_random_array(10)
      [23, 87, 12, 54, 99, 45, 67, 2, 13, 76]
      """
      import numpy as np
      return list(np.random.randint(0, 100, size))
  
output:     import numpy as np
      return list(np.random.randint(0, 100, size))