name *line = input().split() meaning in pytthon code example
Example 1: name, *line = input().split()
>>> first, *rest = input().split()
>>> print(first)
>>> print(*rest)
'''
given_ input = hello my name is bob
hello
['my', 'name', 'is', 'bob']
'''
Example 2: name, *line = input().split()
>>> a, *middle, c = range(4)
>>> a, middle, c
(0, [1,2], 3)