Use a more helpful print statement.

master
voussoir 2020-08-27 16:30:37 -07:00
parent 661c8e537b
commit feabddee81
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def linear(slope, intercept):
''' '''
def f(x): def f(x):
y = (slope * x) + intercept y = (slope * x) + intercept
print(x, y, f'{y:.03f}', seconds_to_hms(y)) print(seconds_to_hms(x), '-->', seconds_to_hms(y), 'slope=', slope)
return y return y
return f return f