Consider the code below with numbered lines:1)def h(x): 2) r…

Consider the code below with numbered lines:1)def h(x): 2) return np.exp(-x**2 / 2) / np.sqrt(2 * np.pi) 3) 4)x = np.linspace(-4, 4, 51) 5)y = np.zeros_like(x) 6) 7)for i in range(len(y)-1): 8) y[i] = h(x[i]) 9)plt.plot(x, y) If we run the code above, we will receive an error. In which line lies the error?