Phase 2Days 13-24
Python Problem Solving & Program Design
Build reliable analytical utilities instead of notebook fragments
Phase Goal
Use collections, functions, modules, and tests to turn repeated analysis into understandable programs.
Progress
Notes
Open the written lectures for this course before checking off the phase topics.
Projects
Community Pantry Stock Reconciliation
Day 13: Tuples, Sets & Collection Choice
Day 14: Comprehensions Without Hidden Logic
Day 15: Function Contracts & Validation
Day 16: Scope, Closures & Functional Tools
Day 17: Modules, Imports & Packages
Day 18: Testing Small Data Functions
Day 19: Iterators, Generators & Large Inputs
Day 20: Sorting, Keys & Ranking Rules
Day 21: Dates, Times & Reporting Periods
Day 22: Decimal, Money & Rounding
Day 23: Command-Line Analytical Utilities
Day 24: Phase Project — Pantry Reconciliation
Capstone
Community Pantry Stock Reconciliation
Build for a volunteer pantry operations lead. The result must support this decision: which staples require redistribution before the weekend? Include reproducible inputs, validation evidence, one tested failure, a changed requirement, and an explicit non-goal.
- Reproducible source-to-output workflow
- Documented quality checks and assumptions
- Decision-ready output for a named user
- Independent reconstruction and transfer evidence
Phase Complete!
After this phase, you'll be able to:
- Tuples, Sets & Collection Choice
- Comprehensions Without Hidden Logic
- Function Contracts & Validation
- Scope, Closures & Functional Tools
- Modules, Imports & Packages
- Testing Small Data Functions
- Iterators, Generators & Large Inputs
- Sorting, Keys & Ranking Rules
Independently deliver Community Pantry Stock Reconciliation, diagnose a planted failure, explain the decision logic, and transfer the workflow to a changed requirement.