A pesticide that is not biodegradable reaches a river. Its concentration, in parts per million (ppm), is measured in the water. At each step up the chain it becomes a number of times more concentrated. You will find the concentration at every level and the first level above a safe limit. Then you will find how many times more concentrated it is at the top.
The idea. Concentration at a level = concentration at the level below the factor for that step.
Your tasks.
ppm to the list of concentrations at the five levels, starting with the water.first_unsafe to the name of the first level above the safe limit of ppm.times to the concentration at the top divided by the concentration in the water.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…