Kinda newb-ish question

David M. Wilson dw-google.com at botanicus.net
Fri Dec 12 10:42:37 EST 2003


ChocoboMog123 at msn.com (ChocoboMog123) wrote...

> It's supposed to be a program to print out prime numbers.
> If anyone knows of a program that does this or can write one, can you
> show me the code? Thanks.

Have you tried Google? Python code is lovely and verbose, and that
makes it fun to google for. Try: "def isPrime" +python

   http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/149148
   http://mail.python.org/pipermail/python-list/2002-May/102160.html

Etc. :)


David.




More information about the Python-list mailing list