Combinar para y si Python

[x for x in xyz if x not in a]
HosseinZaaferani