June 2017
Beginner
352 pages
8h 39m
English
Iteration is such an important concept that we're devoting a whole chapter to it later in this book. In short, though, iterables provide a means for yielding elements one-by-one as they are requested.
One important property of iterables is that they can be used with for-loops:
for item in iterable: print(item)
Read now
Unlock full access