Prerequisites: You should know about iterators and how a for loop in Python works behind the scenes. You don’t need to know anything about generators, coroutines, or the yield keyword. Just a quick overview of how a for loop works in Python: x = [1, ...

Markdown supported · ⌘↵ to post
Taran K.
Great explaination. Much needed article.