Duncan Booth wrote:
Luis Quesada <l.ques...@4c.ucc.ie> wrote:Is there a way of writing the following without using zip:map(lambda (id,v):id*v,zip(range(len(L)),L))[ id*v for id,v in enumerate(L) ]
Cool! Thanks! Cheers, Luis -- http://mail.python.org/mailman/listinfo/python-list