Use a more helpful print statement.

This commit is contained in:
voussoir 2020-08-27 16:30:37 -07:00
parent 661c8e537b
commit feabddee81

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