8. Boolean Variables¶
We can store true and false
Variables of this type are called logical or boolean
In Python, we can initialize variables of this type with
True
orFalse
Note that the T and F are capitalized, any other form generates a syntax error
8.1. Relational Operators¶
Note that the equality operator is two equals (
==
)
8.2. Examples:¶
You have attempted of activities on this page