Python - AND Operator
📖 Read the lesson
Code Life
By Pierre Marsaa
AND Operator
The
and
operator is a logical operator that returns
True
if both sides are
True
. Otherwise, it returns
False
.
Here is a truth table for the
and
operator with 2 variables (
A
and
B = ?
). It shows all possible combinations of
True
and
False
.
Truth table : AND
Verify