Python comes with a dedicated inbuilt module to help us work with iterables. The itertools module in Python comprises of a set of functions that allow us to augment iterables in a way that can ease our work.
To use the function from itertools we have to import it.