Returns the cartesian product of the input iterators.
iterators
Other iterators.
Optional number of times to repeat the input iterators.
https://docs.python.org/3/library/itertools.html#itertools.product for more info, as it does the same.
Returns the cartesian product of the input
iterators
.