6.5.2: be able to write programs that use relational operators (equal to, less than, greater than, not equal to, less than or equal to, greater than or equal to)
Keyword | Definition |
---|---|
!= | relational operator which evaluates to True if two values are not equal |
< | relational operator which evaluates to True if the first value is less than the second |
<= | relational operator which evaluates to True if the first value is less than or equal to the second |
== | relational operator which which evaluates to True if two values are equal |
> | relational operator which evaluates to True if the first value is less than the second |
>= | relational operator which evaluates to True if the first value is greater than or equal to the second |
relational operator | symbol or characters which compare two values giving the result as a boolean True or False |