[Tutor] Printing prime numbers

delegbede at dudupay.com delegbede at dudupay.com
Thu Sep 30 15:51:39 CEST 2010


Ok. I will do that as soon As I get back to my workstation.
Sent from my BlackBerry wireless device from MTN

-----Original Message-----
From: Shashwat Anand <anand.shashwat at gmail.com>
Date: Thu, 30 Sep 2010 19:11:33 
To: <delegbede at dudupay.com>
Cc: <tutor at python.org>
Subject: Re: [Tutor] Printing prime numbers

On Thu, Sep 30, 2010 at 5:27 PM, <delegbede at dudupay.com> wrote:

> Hi all,
> I am trying to write a function that prints out which number is prime in
> range (1,500)
> The function would check thru and the print out something like
> 1 is prime
> 2 is prime
> 3 is prime
> 4 is not
> 5 is prime
>
> Please help me.
> Thank you.
>

Can you show us your attempts.
We may try to help where you did wrong.



> Sent from my BlackBerry wireless device from MTN
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
~l0nwlf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100930/c04b050f/attachment-0001.html>


More information about the Tutor mailing list