Python yield: to show how to use yield in Python