I did this code down below and i was expecting the output of the code to return as a tuple.
li = ('a', 'b', 'c', 'd')
(e, f, *g) = li
print(g)
But the output was
['c', 'd']
What does "(e, f, *g) = li" actually mean and why did the code return as a list?