Iterators That Terminate
Learn about finite iterators in this lesson.
We'll cover the following
Most of the iterators that we create with itertools
are not infinite.
In this lesson, we will be studying the finite iterators of itertools
.
To get output that is readable, we will be using Python’s built-in
list
type. If we do not use list
, then we will only get an
itertools
object printed out.
Get hands-on with 1400+ tech skills courses.