I copied code from the book: neural network from scratch and somehow this produces an error.
import numpy as np inputs = [1.0, 2.0, 3.0, 2.5] weights = [0.2,