Python Generator
When you use a loop to iterate over a collection of items (like list), this collection/sequence is stored in memory. For small sequences, this approach works well. But If you have to iterate over a large sequence (may be millions of records), then th...
kapilg.hashnode.dev3 min read