Single Linear Regression Python Example For Loop