In this hands-on tutorial we will reinvent the wheel!
We’ll reinvent the wheel and implement the module itertools in plain Python.
We’ll do that because it’s fun, but also because that will teach us a lot about Python:
iter and next do;for loops under the hood;__iter__ and __next__ play a part in all this; anditertools, a module with plenty of useful tools for your day-to-day iterations.To prepare for the tutorial, please
pytest).