Logical Operators Flashcards
1
Q
and
A
Returns True if both conditions are True
2
Q
or
A
Returns True if either of the conditions are True
3
Q
not
A
A True expression becomes False and vice versa
4
Q
Not equal to
A
!=
5
Q
Equal to
A
==
6
Q
What is a single = used for
A
It is for assignment