>>> 2 == 2 True >>> 2.47 <= 5.66 True >>> 5+4j >= 2-3j Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: no ordering relation is defined for complex numbers >>> 'abc' == 'xyz' False >>> 'abc' < 'xyz' True >>> 'abc' > 'xyz' False >>> [3, 'abc'] == ['abc', 3] False >>> [3, 'abc'] == [3, 'abc'] True >>> 3 < 4 < 7 True >>> 4 > 3 == 3 True >>> 4 < 3 < 5 != 2 < 7 False >>> >>> 2 == 2 True >>> 2.47 <= 5.66 True >>> 5