Logical Operators Flashcards

1
Q

Operators that are used to combine conditional
statements.

A

LOGICAL OPERATORS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Are used to perform logical operations on the values of variables.

A

LOGICAL OPERATORS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

three types of logical operators in Python

A

Logical AND, Logical OR, and Logical NOT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Returns TRUE if
both statements/operands are true.

A

Logical AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

If any of the two
operands are non-zero thecondition becomes TRUE

A

Logical OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Used to reverse the
logical state of its operand.

A

Logical NOT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly