Comparison Operators Flashcards

1
Q

<

A

Less than

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

<=

A

Less than or Equal to

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

==

A

Equal to

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

>=

A

Greater than or Equal to

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

>

A

Greater than

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

!=

A

Not equal

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

<=

A

Less than or Equal to

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

==

A

Equal to

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

>=

A

Greater than or Equal to

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

>

A

Greater than

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

!=

A

Not equal

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

>>> 2.0 >= 3

A

False

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

>>> 2.0 >= 2

A

True (The same value is why this is true)

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

Can you compare strings using Comparison Operators?

A

Yes

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

Each character as a numeric value that we can find using the?

A

[ord] function

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