a = [1, 2]
b = [1, 3]
zipped = zip(a, b)
zipped
<zip at 0xa857448>
list(zipped)
[(1, 1), (2, 3)]
c, d = zip(*zip(a, b))
c, d
list(c), list(d)
([1, 2], [1, 3])
a = [1, 2]
b = [1, 3]
zipped = zip(a, b)
zipped
<zip at 0xa857448>
list(zipped)
[(1, 1), (2, 3)]
c, d = zip(*zip(a, b))
c, d
list(c), list(d)
([1, 2], [1, 3])