untuk con condicion

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

for x in gen:
    print(x)
Cdev2