How can we send X[i] to the hypothesis function and iterate over it as a 1D array

How can we send X[i] to the hypothesis function and iterate over it as a 1D array to calculate y_ and why the hell is it not letting me post this doubt