I am using list comprehension in order to produce a number of zip objects:
[ zip(a, b[i]) for i in range(0, 1) ]
>>> [<zip object at 0x10a216b88>, <zip object at 0x10a216c08>]
How can I concatenate both zip objects into a single list?
If for example <zip object at 0x10a216b88>
has:
(a, b)
(a, c)
and <zip object at 0x10a216c08>
:
(f, g)
(f, w)
the desired output would be:
[(a, b), (a, c), (f, g), (f, w)]