x != y # TRUE if x is not equal to y x > y # TRUE if x is greater than y x < y # TRUE if x is less than y x >= y # TRUE if x is greater than or equal to y x <= y # TRUE if x is less than or equal to y
The result of comparison operators is a
0
(FALSE ) or
1
(TRUE), of type integer.
a = 4>3 print a print(type(a))