Skip to main content

Course

Python

PythonPart 3 of 7 · Chapter 1 of 4

Teaching a Program to Choose

A program that always does the same thing is not a program, it is a constant. Feed one input through a chain of conditions and watch exactly one branch of it ever run.


Make a free account to read on

Every chapter is free — an account lets your course progress follow you from your laptop to your phone. No payment, no trial.