Python: filter list of list with another list,result = [x for x in list_a if x[0] in list_b]