ski rental shop: add feature
ski rental shop: add feature: a task in smol-software-harbor (Harbor dataset). Add quote(items, days, age, waiver=False) to ski/prices.py , returning a dict with rental (as computed by rental cents ), waiver (the optional damage waiver: 150 cents per item and day, no discounts, 0 without waiver)…
The task
Add `quote(items, days, age, waiver=False)` to `ski/prices.py`, returning a dict with `rental` (as computed by `rental_cents`), `waiver` (the optional damage waiver: 150 cents per item and day, no discounts, 0 without waiver), `deposit` (5000 cents when skis are rented, else 0; refunded later, so not part of the…
Part of efederici/smol-software-harbor.