Please enable JavaScript to use CodeHS

CodeHS Glossary


Boolean Python

A Boolean is a variable that can have one of two values: True or False.

Booleans can be set directly or with a conditional statement.