This level starts the core track with defensive programming patterns.
- Difficulty: Intermediate.
- Estimated Time: 4-6 hours across modules, project, and assessment.
- Prerequisites: Completion of
01-foundationsplus eitherprojects/01-foundationsorassessments/01-foundations. - Study Strategy: Keep notes on validation and file handling patterns, revisit earlier modules when parsing issues stack up, then close the level with the checkpoint pair.
- input-validation
- algorithms-basics
- file-io-basics
- sorting-and-searching
- maps-and-frequency-counting
- error-handling-and-defensive-programming
Track progress in ../CHECKLIST.md.
- Validate user input and recover from invalid states.
- Implement search, counting, sorting, and aggregation patterns confidently.
- Read and write structured text files with Python file APIs.
- Build defensive programs that handle edge cases explicitly.
- You completed every module in this level.
- You solved all exercises (
01.pyand02.py) for each module. - You can explain at least one edge case for every exercise.
- You completed project
languages/python/projects/02-core.
Use error-handling-and-defensive-programming last to consolidate validation and guard-style thinking across all core modules.