ICS 31 — Interactive Demos
Step-by-step interactive walkthroughs for ICS 31 lab concepts. Use these during LA/TA sessions to help students visualize how Python expressions work.
Week 2
Basic Types, Operators & Modules | Expressions & Strings
Numeric types, arithmetic expressions, division/modulo, string basics, slicing, formatting, f-strings, and related labs.
Week 3Loops, Lists & String Operations
For loops, if/elif branching, list building with append(), string methods (split), and counting patterns.
Week 5While Loops
Sentinel-controlled while loops, integer division (//) and modulo (%), tuple unpacking — Lab 5.18 (Countdown until matching digits) and Lab 5.19 (Mad Lib).