Comparison Operators Flashcards
1
Q
<
A
Less than
2
Q
<=
A
Less than or Equal to
3
Q
==
A
Equal to
4
Q
>=
A
Greater than or Equal to
5
Q
>
A
Greater than
6
Q
!=
A
Not equal
7
Q
<=
A
Less than or Equal to
8
Q
==
A
Equal to
9
Q
>=
A
Greater than or Equal to
10
Q
>
A
Greater than
11
Q
!=
A
Not equal
12
Q
>>> 2.0 >= 3
A
False
13
Q
>>> 2.0 >= 2
A
True (The same value is why this is true)
14
Q
Can you compare strings using Comparison Operators?
A
Yes
15
Q
Each character as a numeric value that we can find using the?
A
[ord] function