find all elements in a list of tuples `a` where the first element of each tuple equals 1,[item for item in a if item[0] == 1]