reg: playing with the list

kaustubh joshi kandrjoshi at gmail.com
Fri Jun 24 03:01:51 EDT 2011


Hey all,
I am new here and new to python too. In general new to programming .
I was working on aproblem.
and need some help.
I have a list of numbers say [2,3,5,6,10,15]
which all divide number 30.
Now i have to reduce this list to the numbers which are prime in number.
i.e.
[2,3,5]
can somebody suggest?
K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110624/312adb06/attachment.html>


More information about the Python-list mailing list