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

Input, Output, and Conversion

Move safely between user text and typed program values.

what you'll practice

Build a temperature prompt that rejects assumptions about input types.

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

Parse and sum

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…