B
Bryan Olson
Rustom Mody asked:
You have a statement, "yield(x)", where the construct requires
an expression.
[...] why does
(yield(x) for x in si(l) if x % p != 0)
not work? I would have expected generator expression to play better
with generators.
You have a statement, "yield(x)", where the construct requires
an expression.