Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 415 Bytes

File metadata and controls

13 lines (7 loc) · 415 Bytes

Python Generators

 

Generator are a special kind of function that return a lazy iterator. These are objects that you can loop over like a list. However, unlike lists, lazy iterators do not store their contents in memory.

 

Python Generators

 

Back to Main Menu