You will write functions for the share of each zone of a model biosphere reserve, for the area of the hotspots, and for the extinctions that protection avoids.
The idea. A reserve is a set of nested squares. The core is a square of side core. The core and buffer make a square of side core + 2 * buffer. The whole reserve adds the transition on both sides.
Your tasks.
zone_shares. It gives the share of the core, the buffer and the transition, in per cent, in a list.hotspot_area. It gives the area in million square kilometres from the land and the share in per cent.avoided. It gives the extinctions avoided from the expected loss and the reduction in per cent.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…