I have this list of tuples: l1 = [(1, 8), (6, 8), (8, 7), (2, 6)] I want to compare 1st element of each tuple with 1st element of next tuple How can I access the next tuple\'s 1