water utility bills: fix bug
water utility bills: fix bug: a task in smol-software-harbor (Harbor dataset). Water bills for consumption above 10 m3 are wrong: water cost() in bill.py bills the second block from the wrong starting point ( test two blocks fails). Each block must be billed only for the cubic metres inside it…
The task
Water bills for consumption above 10 m3 are wrong: `water_cost()` in `bill.py` bills the second block from the wrong starting point (`test_two_blocks` fails). Each block must be billed only for the cubic metres inside it. Fix it and run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.