Chapter D10-C02 · Python and computational problem solving
Functions and data
Separate a task into testable functions; Parse CSV and JSON and reject malformed inputs.
Units in this chapter
- D10-U03 Functions, modules, and error handling Separate a task into testable functions
- D10-U04 Data files, tables, and validation Parse CSV and JSON and reject malformed inputs
Reading that connects these units
Reading
- Think Python, 3rd edition Functions, iteration, collections, files, and reasoning about small programs.About this reference (B04)
- Python tutorial Use as a syntax/reference companion after Think Python: the official tutorial explicitly assumes prior programming familiarity.About this reference (W09)
- pandas introductory tutorials Table selection, derived columns, summaries, joins, and file input/output.About this reference (W10)
- Automate the Boring Stuff with Python, 3rd edition Select relevant exercises on files, text, tables, documents, and automation; do not assign the whole book.About this reference (B03)
Selected, not required. Reviewed 2026-11-17.