On Thu, Oct 7, 2010 at 07:11, Ryan Bridges <rbridges...@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
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor