[Tutor] Printing prime numbers

Shashwat Anand anand.shashwat at gmail.com
Thu Sep 30 15:41:33 CEST 2010


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/7417c1b1/attachment.html>


More information about the Tutor mailing list