Linear Regression Single Variable Python Printf