Skip to content

Glossary: Python Basics

Boolean expression

Also written: condition

A test that works out to `True` or `False`, such as `age >= 18`. `if` and `while` use these to decide what to do.

Where the book teaches it

Related terms

if statement