It caused iterative unpacking. If the right-hand side of the job is an iterable, you can unpack the values ββinto different names. Lines, lists, and tuples are just a few examples of iterations in Python.
>>> a, b, c = '123'
>>> a, b, c
('1', '2', '3')
>>> a, b, c = [1, 2, 3]
>>> a, b, c
(1, 2, 3)
>>> a, b, c = (1, 2, 3)
>>> a, b, c
(1, 2, 3)
Python 3, Extended Iterable Unpacking
.
>>> a, *b, c = 'test123'
>>> a, b, c
('t', ['e', 's', 't', '1', '2'], '3')
>>> head, *tail = 'test123'
>>> head
't'
>>> tail
['e', 's', 't', '1', '2', '3']