Possible Duplicate:
Python: Once and for all. What does the Star operator mean in Python?
x = [1, 2, 3]
y = [4, 5, 6]
zipped = zip(x, y)
list(zipped)
x2, y2 = zip(*zip(x, y))
x == list(x2) and y == list(y2)
What type of object does *zip(x, y)
return? Why
res = *zip(x, y)
print(res)
doesn't work?