Survey Data Analysis Pattern
📖 Scenario: You work for a company that collects customer satisfaction surveys. Each survey has a customer's name and their satisfaction score from 1 to 10. You want to analyze this data to find which customers are satisfied based on a score threshold.
🎯 Goal: Build a simple program that stores survey data, sets a satisfaction threshold, filters customers who meet or exceed this threshold, and prints their names and scores.
📋 What You'll Learn
Create a dictionary with exact customer names and scores
Create a variable for the satisfaction threshold
Use a dictionary comprehension to filter satisfied customers
Print the filtered dictionary
💡 Why This Matters
🌍 Real World
Companies often collect survey data to understand customer satisfaction and improve their services.
💼 Career
Data analysts use similar patterns to filter and analyze survey or feedback data to generate insights.
Progress0 / 4 steps