4 ms·
With judicious use of generators, and with itertools [0] when needed, they can be quite efficient for not much effort. And these are flexible tools that you ca
by sn9 1y ago
With judicious use of generators, and with itertools [0] when needed, they can be quite efficient for not much effort.
And these are flexible tools that you can take with you across projects.
[0] https://docs.python.org/3/library/itertools.html https://docs.python.org/3/library/itertools.html