<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Fast Prime Number Generator in Python</title>
	<link>http://www.blursoft.com/blog/2006/11/fast-prime-number-generator-in-python/</link>
	<description>Coding and Life at Blursoft</description>
	<pubDate>Sat, 31 Jul 2010 19:33:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: really simple</title>
		<link>http://www.blursoft.com/blog/2006/11/fast-prime-number-generator-in-python/#comment-4746</link>
		<pubDate>Tue, 30 Jun 2009 16:28:43 +0000</pubDate>
		<guid>http://www.blursoft.com/blog/2006/11/fast-prime-number-generator-in-python/#comment-4746</guid>
					<description>for n in range(2, 1000):
    for x in range(2, n):
        if n % x == 0:            
            break
    else:
        print n, 'is a prime number'

btw when i tried to run it in idle 2.6.2 it said there was an error with the indentations... mine functions, is simple and quickly turns out the prime numbers
simply adjust the  second number in the range (currently 1000) to any number you want to get the results for the given bracket</description>
		<content:encoded><![CDATA[<p>for n in range(2, 1000):<br />
    for x in range(2, n):<br />
        if n % x == 0:<br />
            break<br />
    else:<br />
        print n, &#8216;is a prime number&#8217;</p>
<p>btw when i tried to run it in idle 2.6.2 it said there was an error with the indentations&#8230; mine functions, is simple and quickly turns out the prime numbers<br />
simply adjust the  second number in the range (currently 1000) to any number you want to get the results for the given bracket
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
