Find all the lists from a lists of list 'items' if third element in all sub-lists is '0',[x for x in items if x[2] == 0]