May 2017
Intermediate to advanced
280 pages
6h 2m
English
Like any other language, Python also supports comparison operators. Comparison operators return True or False:
|
Operator |
Description |
|
== |
Checks the equality |
|
< |
Returns True if the left-hand side operand is less than the right-hand side operand |
|
> |
Returns True if the left-hand side operand is greater than the right-hand side operand |
|
<= |
Returns True if the left-hand side operand is less than or equal to the right-hand side operand |
|
>= |
Returns True if the left-hand side operand is greater than or equal to the right-hand side operand |
|
!= |
Returns True if the left-hand side operand is not equal to the right-hand side operand |
|
<> |
Returns True if the left-hand side operand is not equal ... |
Read now
Unlock full access