Skip to main content
Donate
Menu
Workshops
How to
FAQ
Main site
Workshops
Workshop 2
Lesson 1.4
The if statement
Running code only when a condition is true.
← Workshop 2 lessons
Loading Python…
Loading lesson…
← Previous: 1.3 Comparison operators exercise
Next: 1.5 The else statement →