simonklein
4/2/2020 - 9:35 PM

iterators

>>> from itertools import count
>>> counter = count(start=13)
>>> next(counter)
13
>>> next(counter)
14