itertools (python3)

francnstein

francnstein

Posted on May 19, 2020

itertools
(python3)

itertools

The module itertools is a standard library that contains several functions that are useful in functional programming.
One type of function it produces is infinite iterators.
The function count counts up infinitely from a value.
The function cycle infinitely iterates through an iterable (for instance a list or string).
The function repeat repeats an object, either infinitely or a specific number of times.

πŸ’– πŸ’ͺ πŸ™… 🚩
francnstein
francnstein

Posted on May 19, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related