Welcome to part 6 of the intermediate Python programming tutorial series. In this part, we're going to talk about the timeit module.
The idea of the timeit module is to be able to test snippets of code. In our previous tutorial, we were talking about list comprehension and generators, and the difference between the two of them (speed vs memory) was explained. Using the timeit module, I will illustrate this.