für Con Condicion

gen = (x for x in xyz if x not in a)

for x in gen:
    print(x)
Cdev2