"F. Petitjean" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>res = [ bb+ii*dd for bb,ii,dd in zip(b,i,d) ]

> Hoping that zip will not be deprecated.

Cease worrying.  Zip was added to replace the zipping behavior of map and 
the idiom map(None, a, b, ...).  It simultaneously altered the behavior for 
unequal length inputs to stop with the shortest instead of padding to the 
longest.

tjr 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to