On Apr 5, 5:11 pm, Alec Mihailovs <[email protected]> wrote:

> u=filter(lambda n: gcd(n,40)==1, U)

Also, that can be done as

u=[n for n in U if gcd(n,40)==1]

Alec

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to