Compare two tuples : Compare « Tuple « Python Tutorial






print (4, 2) < (3, 5)
print (2, 4) < (3, -1)
print (2, 4) == (3, -1)
print (2, 4) == (2, 4)
6.3.Compare
6.3.1.Compare two tuples