You will write functions for the core of a forest cut into pieces, for the forest that has been lost, and for the number of pieces at which the core vanishes.
The idea. A forest of side is cut into by equal squares. The side of a piece is . The core share is when is more than , and zero when it is not.
Your tasks.
core_share. It gives the per cent of the forest that is core.forest_lost. It gives the area lost, from the land area and the old and new shares of cover.first_zero. It gives the smallest at which the core is zero.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…