Fit a line by least squares · Python lab | StemPy Lab