Skip to main content

Mojo module

itertools

Functions​

  • ​count: Constructs an iterator that starts at the value start with a stride of step.
  • ​product: Returns an iterator that yields tuples of the elements of the outer product of the iterables.
  • ​repeat: Constructs an iterator that repeats the given element a specified number of times.

Was this page helpful?