'padding-left: 0.5rem; padding-right: 0.5rem'>CI</td><td style='padding-left: 0.5rem; padding-right: 0.5rem; border-left: 1px solid #DDD'>      ðŸ¥º</td></tr></table><p>This system makes it very easy to create and use a generator in Python style.</p>
<p>This code demostrates how a simple generator works in Python. The generator creates an iterable object and values can be extracted by calling the <code>next</code> function:</p>
<pre><code class='python'>In [1]: def simple():
   ...:     yield 1
   ...: 