From cdfa6601b6c03fc6257972ca6a60b390d1a6215d Mon Sep 17 00:00:00 2001 From: inasinghal17 Date: Fri, 19 Oct 2018 15:03:30 +0530 Subject: [PATCH] issue of parenthesis in print statement(42-47) is resolved --- best_fit_line.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/best_fit_line.py b/best_fit_line.py index 5f71dbc4..93feb9ed 100644 --- a/best_fit_line.py +++ b/best_fit_line.py @@ -39,12 +39,12 @@ prob += (a*x - y - c >= -z) status = prob.solve(GLPK(msg = 0)) -print "status:", LpStatus[status] -print "values:" -print "\ta:", value(a) -# print "\tb:", value(b) -print "\tc:", value(c) -print "\tz:", value(z) +print("status:", LpStatus[status]) +print("values:") +print("\ta:", value(a)) +# print("\tb:", value(b)) +print("\tc:", value(c)) +print("\tz:", value(z)) # extra part to plot everything