You will keep the carbon accounts of four firms under a trading scheme, with three greenhouse gases, and find how much money changes hands.
The idea. A firm's emission in carbon dioxide equivalent is
with each mass in tonnes. Its balance is its allowance minus . A firm with a negative balance buys that many credits; a firm with a positive one can sell.
Your tasks.
co2e, return the emission of a firm in tonnes of CO₂e.balance, return the allowance minus the CO₂e.money_paid, return the total paid by all the firms that must buy, at the given price.Run your code once to unlock the worked solution.
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…