Wow, thanks for all the feedback. I learned a lot today! On Apr 5, 2010, at 5:31 PM, Alec Mihailovs wrote:
> On Apr 5, 5:11 pm, Alec Mihailovs <alec.mihail...@gmail.com> 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 sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > 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. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org