I am solving a problem to find average of scores of one student out of n other students in python 3 on HackerRank. I haven't written the code for it yet. But in HackerRank they already provide us with some parts of the code like the ones that accept input.I didn't understand what name, *line = input().split() is actually doing.
I have an idea of what the .split() does. But this whole line is confusing.
This is the code that has been already provided :
if __name__ == '__main__':
n = int(input())
student_marks = {}
for _ in range(n):
name, *line = input().split()
scores = list(map(float, line))
student_marks[name] = scores
query_name = input()