Combine para e se python

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