Solve Linear Regression Using Python