Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Missing Values, Defaults, and None

None and Optional Types

BOTIE

Python uses None to represent absence in many interfaces, and function defaults provide behavior when an argument is omitted. As typed interfaces became common, PEP 484 made the distinction between an ordinary value and a value that may also be None explicit.

That notation did not decide what absence should mean for every application. A caller might omit a limit to request a default, or explicitly supply None to disable an optional check. Keeping those states distinct prevents a convenience expression from silently changing the policy.

Sources for this history