Chatty reference · python week 2
69 words
1 min read
2026-08-16T00:00:00.000Z
Visual companion
Python
Type and operator map
Python Week 1: the first filter for runtime behavior
View
Revision summary
What this note is really saying
Short form
W2–3 combined in source # 18. Python W2–3 — Conditionals Core structures: Patterns: ### Binary decision $$P\rightarrow A/B$$ ### Multiple mutually exclusive cases $$P_1,P_2,\ldots,P_n$$ ### Compound condition ### Alternative condition Important distinction: versus and nested conditionals.

18. Python W2–3 — Conditionals
Core structures:
pythonif condition: ... elif condition: ... else: ...
Patterns:
Binary decision
P→A/B
Multiple mutually exclusive cases
P1,P2,…,Pn
Compound condition
pythonif A and B:
Alternative condition
pythonif A or B:
Important distinction:
pythonand
versus
pythonor
and nested conditionals.
We'll also train truth-table thinking, not just syntax.