Comparison Operators¶
Comparison operators compare two values and return a Boolean result.
| Operator | Description | Example | Result |
|---|---|---|---|
= | Equal to | 5 = 5 | True |
<> | Not equal to | 4 <> 5 | True |
> | Greater than | 7 > 3 | True |
< | Less than | 2 < 5 | True |
>= | Greater than or equal to | 5 >= 5 | True |
<= | Less than or equal to | 3 <= 4 | True |