Googling 'computing prime numbers' produced about 64,100,000 results . That should certainly get you started.
Robert From: [email protected] [mailto:[email protected]] On Behalf Of Roelof Wobben Sent: Saturday, August 21, 2010 9:36 AM To: [email protected] Subject: [Tutor] prime test problem Hello, I have to make a programm which can test if a number is a prime. I know a prime is a number which can only be diveded by 1 and itself. One way is was thinking about is to make a loop which try if % has output 0. But that don't work. Can someone give me a hint what's the best approach is. Roelof
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
