Python includes a rich set of tools for dealing with iterable series, both in the form of built-in functions such as sum(), any() and zip() as well as in the itertools module.
-
We have covered the iterable protocol in detail in this chapter.
-
Well, they can, but recall that iterating over a dictionary yields only the keys!
-
We often just use the term generator to refer to generator functions, though sometimes it may be necessary to distinguish generator functions from generator expressions, which we cover later.
-
The authors are sworn by sacred oath never to use either Fibonacci or Quicksort implementations in demonstrations or exercises.
-
This has nothing whatsoever to do with the order in which you should watch the episodes of Star Wars. If that's what you're looking for, might we suggest
Machete Order.