1 / 10
INTRO

More Than Two Outcomes

A traffic light mounted at an intersection showing three lamps stacked vertically — red, yellow, and green — glowing at dusk.

A traffic light isn't just go or stop — there's a third state in between. Plenty of real decisions have more than two outcomes, and if / else alone only ever gives you two.