The expression
x==y
: Returns True if the two objects are equal and False if they are not equal.
Notice that == performs a comparison and not an assignment like = does.
The expression
x<>y
: Returns True if the objects are not equal and False if they are equal.
The expression
x != y
: Returns True if the objects are not equal and False if they are equal.
The expression
x < y
: Returns True if the left object is less than the right object and False if the left object is not less than the right object.
The expression
x <= y
: Returns True if the left object is less than or equal to the right object and False if the left object is not less than or equal to the right object.
The expression
x > y
: Returns True if the left object is greater than the right object and False if the left object is not greater than the right object.
The expression
x >= y
: Returns True if the left object is greater than or equal to the right object and False if the left object is not greater than or equal to the right object.
Example: