Why project-based learning cements skills
📖 Scenario: Imagine you are a data analyst helping a small online bookstore understand how project-based learning helps students improve their skills. You have data about students' learning methods and their skill improvement scores.
🎯 Goal: You will create a small data structure with student data, set a threshold for skill improvement, filter students who improved above the threshold using a comprehension, and finally print the filtered results.
📋 What You'll Learn
Create a dictionary called
students with exact entries for student names and their skill improvement scores.Create a variable called
threshold and set it to 70.Use a dictionary comprehension to create a new dictionary
improved_students with students who scored above the threshold.Print the
improved_students dictionary.💡 Why This Matters
🌍 Real World
Filtering data based on conditions is common in data analysis to focus on important information.
💼 Career
Data analysts often filter and summarize data to help businesses make decisions.
Progress0 / 4 steps