Vladimir

3%
Flag icon
If the two lists used in the Cartesian product had a thousand items each, using a generator expression would save the cost of building a list with a million items just to feed the for loop.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview