>>> x = [1,2,3]
>>> y = [4,5,6]
>>> zipped = zip(x,y)
>>> zipped
[(1, 4), (2, 5), (3, 6)]
>>> *zipped
File "<stdin>", line 1
*zipped
^
SyntaxError: invalid syntax
>>> zip(*zipped)
[(1, 2, 3), (4, 5, 6)]
I am confused with the * before zipped. I understand that zip(*zipped) is used to invert a matrix, but what is the * doing in there? Is it a special operator in python?