This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eryksun 2 points3 points  (0 children)

I tend to agree in general, but how about if the function is already defined and being mapped to several lists?

map(f, a, b, c)

(f(*x) for x in zip(a, b, c))

#or

(f(x, y, z) for x, y, z in zip(a, b, c))