Jupyter Notebook Lab — Module 02#
Containers: Lists, Dictionaries, Tuples & Sets
Practice creating and working with all four Python container types using realistic customer and product data scenarios.
Download#
📓 Student Notebook coming soon
🔑 Answer Key coming soon
What You’ll Practice#
- Creating and modifying lists — append, remove, index, and slice
- Building dictionaries — named-field records and key access
- Using tuples — fixed reference data and tuple unpacking
- Applying sets — finding unique values and set operations
- Combining containers — list of dictionaries for multi-customer datasets
Learning Objectives#
By completing this notebook you will be able to:
- Choose the right container type for a given business data scenario
- Access, add, and modify data within each container type
- Use built-in functions (
len(),sum(),sorted(),set()) with containers - Build a structured dataset using nested containers (list of dictionaries)
- Perform set operations to answer analytical questions about overlapping segments
Next Module: Module 03 — Branching & Control Flow →