Popular recipes tagged "primes", "any" and "generator"http://code.activestate.com/recipes/tags/primes+any+generator/2009-11-04T06:52:06-08:00ActiveState Code RecipesSimple primes generator (Python)
2009-11-04T06:52:06-08:00Maxime Fontenierhttp://code.activestate.com/recipes/users/4172150/http://code.activestate.com/recipes/576948-simple-primes-generator/
<p style="color: grey">
Python
recipe 576948
by <a href="/recipes/users/4172150/">Maxime Fontenier</a>
(<a href="/recipes/tags/any/">any</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/primes/">primes</a>).
</p>
<p>Simple prime generator. </p>
<p>I write it as a sample usage of the any function.</p>