# prize35-4 Exercise 1: residence time of two invented lochs lochs = { "Loch Large (invented)": (2.0, 0.5), # (volume km3, inflow km3 a year) "Loch Small (invented)": (0.01, 0.04), } for name, (volume_km3, inflow_km3_per_year) in lochs.items(): years = volume_km3 / inflow_km3_per_year print(f"{name:22s} {years:5.2f} years = {years * 365:6.0f} days") # Output: # Loch Large (invented) 4.00 years = 1460 days # Loch Small (invented) 0.25 years = 91 days # Reading it: the small loch flushes itself in about three months, the large one takes four years. # A pollutant (or a nutrient) is washed out of the small loch quickly but lingers in the large one, # so the large loch recovers more slowly after the source is cut off.