Conditional (if/else)
The fork in the road: if the condition is true run this branch, otherwise run the other.
A conditional lets a program react instead of blindly running top to bottom: if score >= 60: print("pass"). With elif and else you build chains of choices where exactly one branch runs.
Every decision software makes — show the notification or not, accept the password or not, brake the car or not — is one of these forks, sometimes millions of them per second.
The best way to make it stick: watch it run. Start an interactive lesson →