>
> Python has a cool feature called generators (stolen from other
> languages) which basically turns a function into an input iterator.
> When the function yields a value instead of returning, that represents
> the value at one position of the iterator. When the function finally
> returns, the it
Python has a cool feature called generators (stolen from other
languages) which basically turns a function into an input iterator.
When the function yields a value instead of returning, that represents
the value at one position of the iterator. When the function finally
returns, the iterator is e