Series overview
Python Bakery
This lesson introduces if statements: a conditional that decides whether a body of code runs, with an optional else body for when it does not. Students learn to trace which lines execute, and apply truthiness, letting values such as the empty string, 0 and None act as false.