5606d30fb76b7e71c3988caab0301a8538f8bfc1
2 # -*- coding: utf-8 -*-
5 # positional args invocation
6 est
= munter
.time_calc(3.2, 2300, 'average', 'uphill', 'imperial')
7 print("Time estimate (3.2 mi, +2300'): %s hours" % est
['time'])
9 # defaults with one override invocation
10 est
= munter
.time_calc(4.5, 2650, fitness
='slow')
11 print("Time estimate (4.5 mi, +2650, slow): %s hours" % est
['time'])