老师想用 *args 统计学生成绩总和,以下正确的结果是?( )
def total_score(*scores):
return sum(scores)
print(total_score(80, 90, 70))
240
(80, 90, 70)
报错
0