--Originally published at Carolina's Blog Site
- There are two Boolean values: True and False. I know, shocker.
- They can be created by comparing values, for example using the equal operator ==, the not equal operator !=, the greater than operator, etc.
- Btw, DO NOT confuse assignment (=) with comparison (==).
Example:
>>> 7 > 5
True
>>> 10 < 10
False