Use a more helpful print statement.
This commit is contained in:
parent
661c8e537b
commit
feabddee81
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue