A student records the fresh mass and the dry mass of seedlings on several days. You will write functions that turn the records into the numbers a biologist reports.
The idea. Percentage change is . The water in an organism is the fresh mass minus the dry mass.
Your tasks.
percent_change. It gives the percentage change from the first value to the last value of a list.water_percent. It gives the percentage of the fresh mass that is water.day_of_lowest. It gives the day on which the dry mass is lowest.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…