Green bananas are kept in rooms with different amounts of ethylene. A table gives the days that they need to ripen. You will work out the days saved, the share saved, and a small rule for a trader.
The idea. More ethylene means fewer days. The lists are in step: the first ppm goes with the first number of days.
Your tasks.
saved to the days saved at the highest ethylene, compared with no ethylene.saved_percent to that saving as a per cent of the days with no ethylene, rounded to a whole number.lowest_dose. It gives the smallest ethylene, in ppm, that ripens the fruit in fewer than limit days, or None if no dose does.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…