para la condicion
gen = (x for x in xyz if x not in a)
for x in gen:
print(x)
Cdev2
gen = (x for x in xyz if x not in a)
for x in gen:
print(x)