[Tutor] Advice for my function, isPrime(n), please

Marc Tompkins marc.tompkins at gmail.com
Mon Jul 21 19:32:39 CEST 2008


On Mon, Jul 21, 2008 at 10:29 AM, Marc Tompkins <marc.tompkins at gmail.com>
wrote:

>
> How about
>
>> return (x!=0)
>>
> ?
>
> Short and cryptic!
>

Sorry - I had deleted all the old messages in the thread, and only responded
to the latest.  My bad - I see now that I've joined in beating a dead horse.


-- 
www.fsrtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080721/2d2c705e/attachment.htm>


More information about the Tutor mailing list