Logical Operators Flashcards

1
Q

and

A

Returns True if both conditions are True

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

or

A

Returns True if either of the conditions are True

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

not

A

A True expression becomes False and vice versa

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

Not equal to

A

!=

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

Equal to

A

==

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

What is a single = used for

A

It is for assignment

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