Module 01/How Python Works
Foundationconcept10 minuteslesson plan + live practice

Values, Expressions, and Types

Distinguish values from expressions and reason about Python's core scalar types.

what you'll practice

Classify expressions before running them and explain every surprising result.

how this lesson works
01
Predict
Commit to what the program will do before running it.
02
Diagnose
Use the prediction to distinguish competing misconceptions.
03
Repair & explain
Fix the model, then teach the reason back in your own words.
04
Transfer
Apply the concept to a different-looking problem before mastery.
recommended debugging practice

Build a greeting

This runnable exercise matches the lesson's concepts closely. It includes visible tests, hidden edge cases, progressive hints, and a related transfer exercise.

Open debugging exercise →
Go deeper

Lesson resources

Finding resources…