I like to use this example with my students: https://github.com/bterwijn/memory_graph#lazy-evaluation
post
Better question is Iterator or Generator?
Identify where itertools or itertools-more should be used instead.
The later question i don't have an answer to. If anyone wants to take a crack at it.
replies:
all 3 comments