Menu

Relational Operators

Card 1 of 15 0 got it 0 still learning
Question
TapClick or press space to see the answer
Answer
All 15 cards in this set
Which operator checks if two values are equal?
==
What does the != operator do?
Checks if two values are not equal
Which operator is used to check if the left operand is greater than the right operand?
>
What does the <= operator signify?
Less than or equal to
Which operator checks if the left operand is less than the right operand?
<
What is the result of 5 == 5?
TRUE
How does Python evaluate 8 != 8?
FALSE
What will 10 > 5 return?
TRUE
Is 3 < 4 a true statement?
TRUE
What does 7 >= 8 evaluate to?
FALSE
What is the outcome of 9 <= 9?
TRUE
How does Python evaluate 15 < 10?
FALSE
What will be the result of 12 >= 12?
TRUE
What is the result of 20 == 10 + 10?
TRUE
How does Python evaluate 18 != 3 * 6?
FALSE