On Wed, Oct 20, 2010 at 1:33 PM, Daniel Wagner
<brocki2...@googlemail.com> wrote:
> Any more efficient ways or suggestions are still welcome!

Did you not see Paul Rubin's solution:

>>> [x+(y,) for x,y in zip(a,b)]
 [(1, 2, 3, 7), (4, 5, 6, 8)]

I think this is much nicer and probably more efficient.

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to