* line的含义

时间:2017-10-06 18:12:10

标签: python python-3.x

当我通过Hackerrank练习时,我得到了这样的代码:

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()

* line 在此处指示什么?

0 个答案:

没有答案