8/28/26Less than 1 minuteAbout 68 words
Concept: Boolean operators
| Operator | Description | Example | Result |
|---|---|---|---|
and | Returns True if both operands are True | True and False | False |
or | Returns True if at least one operand is True | True or False | True |
not | Returns the negation (opposite) of the argument | not True | False |
== | Returns True if both operands are equal | 5 == 5 "Hello World" == "Hello World" | True |