Kiru Lab / Foundations: Python as an Instrument
Python From First Principles
Names, objects, types, decisions, repetition, and functions — the pieces every program in this curriculum is assembled from. Work through these in order and type every example.
In this module you will
- Describe assignment as binding a name to an object
- Use numbers, text, and booleans without type confusion
- Trace a branch and a loop through a short program by hand
- Write functions with clear inputs, outputs, and no hidden state
- Read a file and handle the ways that can fail