zip list, variables
steve+comp.lang.python at pearwood.info
Thu Nov 21 02:03:39 CET 2013
On Wed, 20 Nov 2013 12:05:38 -0800, flebber wrote:
> Thank you for the replies.
> Looking at the replies I am wondering which solution is more scalable.
> At the moment it is only 2 nested lists but what about 5, 10, 20 or
> Should I start looking into numpy to handle this or will list
> >>> [ [ x + y for x, y in zip(x,y) ] for x, y in zip(a,b) ]
> Be sufficient ?
Be sufficient for what? You've deleted all context from your post, so I
have no clue what you're talking about.
More information about the Python-list