On 27 set, 16:06, Xah Lee <xah...@gmail.com> wrote: > 2010-09-27 > > > For instance, this is far more convenient: > > [x+1 for x in [1,2,3,4,5] if x%2==0] > > than this: > > map(lambda x:x+1,filter(lambda x:x%2==0,[1,2,3,4,5])) > > How about this: [snip]
how about this: read before replying. -- http://mail.python.org/mailman/listinfo/python-list