Re: prime number

2005-05-29 Thread lostinpython
neers need with all this programming is beyond me. We have to learn another language to program our CADD software, which I find much easier than this. But needless to say, I'm stumped on this problem. I keep ending up in a never ending loop. Shanna Mike Meyer wrote: > "lostinpython&

prime number

2005-05-29 Thread lostinpython
I'm having trouble writing a program that figures out a prime number. Does anyone have an idea on how to write it? All I know is that n > 2 is prim if no number between 2 and sqrt of n (inclusivly) evenly divides n. -- http://mail.python.org/mailman/listinfo/python-list