Suppose I have a list that I wish not to return but to yield values from. What is the most pythonic way to do that?
Here is what I mean. Thanks to some non-lazy comp
You can build a generator by saying
(x for x in List)