[Tutor] Prime Numbers

शंतनू (Shantanoo) shantanoo at gmail.com
Thu Oct 7 11:59:52 CEST 2010


On Thu, Oct 7, 2010 at 07:11, Ryan Bridges <rbridges928 at gmail.com> wrote:

> Hi,
> I'm using Python 2.6.2 and I need to write a code so that when I use an
> input, it will say if the number is prime or not.  How do I do this?
>
>
Following links would be useful:
http://en.wikipedia.org/wiki/Prime_number
http://en.wikipedia.org/wiki/Primality_test

once you decide which algorithm you want to implement, you should be able to
get the python code in less than week's time :).

HTH.
regards,
shantanoo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101007/10f5020c/attachment.html>


More information about the Tutor mailing list