2014-01-11 19:01:00 -05:00
|
|
|
print([] == [])
|
|
|
|
print([] > [])
|
|
|
|
print([] < [])
|
|
|
|
print([] == [1])
|
|
|
|
print([1] == [])
|
|
|
|
print([] > [1])
|
|
|
|
print([1] > [])
|
|
|
|
print([] < [1])
|
|
|
|
print([1] < [])
|
|
|
|
print([] >= [1])
|
|
|
|
print([1] >= [])
|
|
|
|
print([] <= [1])
|
|
|
|
print([1] <= [])
|
|
|
|
|
|
|
|
print([1] == [1])
|
|
|
|
print([1] != [1])
|
|
|
|
print([1] == [2])
|
|
|
|
print([1] == [1, 0])
|
|
|
|
|
|
|
|
print([1] > [1])
|
|
|
|
print([1] > [2])
|
|
|
|
print([2] > [1])
|
|
|
|
print([1, 0] > [1])
|
|
|
|
print([1, -1] > [1])
|
|
|
|
print([1] > [1, 0])
|
|
|
|
print([1] > [1, -1])
|
|
|
|
|
|
|
|
print([1] < [1])
|
|
|
|
print([2] < [1])
|
|
|
|
print([1] < [2])
|
|
|
|
print([1] < [1, 0])
|
|
|
|
print([1] < [1, -1])
|
|
|
|
print([1, 0] < [1])
|
|
|
|
print([1, -1] < [1])
|
|
|
|
|
|
|
|
print([1] >= [1])
|
|
|
|
print([1] >= [2])
|
|
|
|
print([2] >= [1])
|
|
|
|
print([1, 0] >= [1])
|
|
|
|
print([1, -1] >= [1])
|
|
|
|
print([1] >= [1, 0])
|
|
|
|
print([1] >= [1, -1])
|
|
|
|
|
|
|
|
print([1] <= [1])
|
|
|
|
print([2] <= [1])
|
|
|
|
print([1] <= [2])
|
|
|
|
print([1] <= [1, 0])
|
|
|
|
print([1] <= [1, -1])
|
|
|
|
print([1, 0] <= [1])
|
|
|
|
print([1, -1] <= [1])
|
2017-09-06 17:10:10 -04:00
|
|
|
|
|
|
|
|
|
|
|
print([] == {})
|
|
|
|
print([] != {})
|
|
|
|
print([1] == (1,))
|
|
|
|
|
|
|
|
try:
|
|
|
|
print([] < {})
|
|
|
|
except TypeError:
|
|
|
|
print("TypeError")
|