Course
Python Programming
Slides for the weekly videos and for the in-person class. New decks appear here as the course progresses — bookmark this page.
- Lecture
Week 1 · Orientation and Setup: Your First Program
What a program is, why Python, and the three tools (editor · interpreter · terminal), plus how the course runs.
- Lecture
Week 2 · Numbers and Calculation
int and float, the seven arithmetic operators, order of operations, why 0.1 + 0.2 is not 0.3, and how print() turns an expression into a value.
- Practice
Week 2 · Practice: Numbers and Calculation
Task cards for the practice video: prompt drills, breaking things on purpose, a first calculation file, three worked examples, and the exercise 1 briefing.
- Class
Week 2 · Class: Numbers and Calculation
The in-person class after the week 2 videos: a six-slide recap, a what-comes-out quiz, the exercise 1 debrief, why an error is good news, and a first look at week 3.
- Lecture
Week 3 · Variables, Strings, and Input/Output
From a calculation to a program: a seven-line program that asks the user, remembers the answers, and answers in words, built step by step with variables, strings, input(), and f-strings.
- Practice
Week 3 · Practice: Variables, Strings, and Input/Output
Task cards for the practice video: prompt drills, breaking four things on purpose, the seven-line program as a file, three input programs, and the exercise 2 briefing.