Quiz Complete, well Done!
In Python, the
are used to compare two values.
Which operator is used to compare if one value is greater than another?
Relational operators are used to compare
and determine the relationship between them.
The comparison operator '>=' is used to check if the left value is
the right value.
Which comparison operator is used to check if one value is greater than or equal to another in Python?
Comparison Operators
Which operator is used to check if one value is less than or equal to another in Python?
What is the comparison operator used to check if two values are equal in Python?
not in
The comparison operator '<' is used to check if the left value is
the right value.
What is the opposite of the operator '>=' in Python?
What does the operator '<' in Python represent?
The comparison operator '>' is used to check if the left value is
the right value.
The 'or' operator is a
operator used for more complex comparisons.
What is the value of 3.5 == 3?
The 'and' operator is a
operator used for more complex comparisons.