Concept map: yield in python

Jan 17, 2014 • Jean-Christophe Leyder

Here is my concept map, about using the yield statement in a python function.

Concept map about using the yield statement in python functions<figcaption class="wp-caption-text">Concept map about using the yield statement in a python function</figcaption></figure> The intended audience is people who are already familiar with functions in python (using the return statement), and my goal was to compare and contrast the use of yield versus the use of return.

Comments welcome!