Itertools are a core set of fast, memory efficient tools for creating iterators for efficient looping (read the documentation here). One (of many) uses for itertools is to create a permutations() ...
In the last post, we discovered generators — functions that yield values one at a time, on demand. We built infinite counters and Fibonacci sequences, but we were hand-rolling everything from scratch.