Note that this site is in currently in version 1.0.0-alpha.   Some functionality may be limited.


A data type in Python that is either “True” or “False” and is often used as a basic building block for logical operations. They are implied in conditional statements (which check if expressions are true in order to run a bit of code) and can be retruend by functions.


Booleans and logical operators
Read more about Booleans and logical operators here.


Check out w3school’s tutorial on using Booleans.

Lessons referring to this term