# The comparison operators in and not in check whether a value occurs (does not occur) in a sequence.
# The operators is and is not compare whether two objects are really the same object.

# a combined comparision
# A and not B or C

#Type must be same for comparisions
print((1, 2, 3)              < (1, 2, 4))
print([1, 2, 3]              < [1, 2, 4])
print('ABC' < 'C' < 'Pascal' < 'Python')
print((1, 2, 3, 4)           < (1, 2, 4))
print((1, 2)                 < (1, 2, -1))
print((1, 2, 3)             == (1.0, 2.0, 3.0))
print((1, 2, ('aa', 'ab'))   < (1, 2, ('abc', 'a'), 4))