Code for finding the 1000th prime

Edward A. Falk falk at mauve.rahul.net
Tue Nov 17 20:48:46 CET 2009


In article <aecf2132-05a9-4144-81a8-952bb435e689 at a32g2000yqm.googlegroups.com>,
mrholtsr  <mrholtsr at gmail.com> wrote:
>I am absolutely new to python and barely past beginner in programming.
>Also I am not a mathematician. Can some one give me pointers for
>finding the 1000th. prime for a course I am taking over the internet
>on Introduction to Computer Science and Programming. Thanks, Ray

OK, newbie soccer is over.

http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes

Everything you need is in there.

-- 
	-Ed Falk, falk at despams.r.us.com
	http://thespamdiaries.blogspot.com/



More information about the Python-list mailing list