Lesson 11 — Python II: types and control flow
Unit II · Computational problem solving

L11_types_demo.py                            student     Worked examples for types, mixing and comparisons in the notes.
L11_broken_demo_add.py                       student     Notes example: "5" + 5 TypeError.
L11_broken_demo_int.py                       student     Notes example: int("12.5") ValueError.
L11_flow_demo.py                             student     Worked examples for if/elif/else, for with range, and while.
L11_types_practice.py                        student     Type-prediction practice set, done before A1.
L11_cond_1.py                                student     A2 predict-then-run: kayak rental wind rule.
L11_cond_2.py                                student     A2 predict-then-run: time-trial category on a boundary.
L11_cond_3.py                                student     A2 predict-then-run: vacation request with int conversion.
L11_loop_counted.py                          student     A3 counted loop to hand-trace.
L11_loop_conditional.py                      student     A3 conditional loop to hand-trace.
L11_offbyone_a.py                            student     A3 off-by-one: one iteration too few.
L11_offbyone_b.py                            student     A3 off-by-one: one iteration too many.
L11_broken_type_1.py                         student     A4 matching: comparison of int and str.
L11_broken_type_2.py                         student     A4 matching: int() of a decimal string (ValueError).
L11_broken_type_3.py                         student     A4 matching: int + str.
L11_broken_type_4.py                         student     A4 matching: str + int in a print.
L11_extension.py                             student     Extension problems for learners with prior programming.
L11_homework_modify.py                       student     Homework: modify to stop one iteration earlier.

Python 3.11 or newer. Standard library only. Run each program from the folder the lesson tells you to put it in:
    python <file>.py        (Windows)
    python3 <file>.py       (macOS and Linux)
