Recycling and Sustainability
📖 Scenario: You are working with a community group that wants to promote recycling and sustainability. They have collected data about different materials and their recycling rates. Your task is to organize this data and highlight materials that have recycling rates below a certain threshold to focus awareness efforts.
🎯 Goal: Build a simple data structure to hold recycling rates for materials, set a threshold for low recycling rates, identify materials below this threshold, and mark them for special attention.
📋 What You'll Learn
Create a dictionary called
materials with exact entries for recycling ratesCreate a variable called
low_threshold set to 50Use a dictionary comprehension called
low_recycling to select materials with recycling rates below low_thresholdAdd a final key-value pair
'focus_area': True to low_recycling to mark it for awareness campaigns💡 Why This Matters
🌍 Real World
Communities and environmental groups often track recycling rates to focus their sustainability efforts where they are most needed.
💼 Career
Data organization and filtering skills are essential for environmental analysts, sustainability coordinators, and community planners.
Progress0 / 4 steps