Creating and Displaying Data
📖 Scenario: You are organizing a small event and want to keep track of the number of guests who have confirmed their attendance. You will create a simple list of guest names, add a count of confirmed guests, and then prepare a message to display the total number of guests coming.
🎯 Goal: Build a simple data structure to hold guest names, add a count of confirmed guests, and create a message that shows the total number of guests confirmed.
📋 What You'll Learn
Create a list called
guest_names with exactly these names: "Alice", "Bob", "Charlie"Create a variable called
confirmed_count that holds the number 3Create a message string called
confirmation_message that says exactly: "Total guests confirmed: 3"Use the exact variable names
guest_names, confirmed_count, and confirmation_message💡 Why This Matters
🌍 Real World
Keeping track of guest lists and confirmations is common in event planning and helps organizers prepare properly.
💼 Career
Understanding how to organize and display data clearly is important in many jobs, including administration, customer service, and software development.
Progress0 / 4 steps