Bo
Bools
in
Python
3 exercises
Python represents true and false values with the 'bool' type. There are only two values: 'True' and 'False'. These values can be bound to a variable, used in comparisons, or returned from a function. Bools are a subclass of 'int'.
Explore concept