请问问题在哪里?
>>> L = [75,92,59,68]
>>> sum =0.0
>>> for score in L:
... sum = sum + score
File "<stdin>", line 2
sum = sum + score
^
>>> L = [75,92,59,68]
>>> sum =0.0
>>> for score in L:
... sum = sum + score
File "<stdin>", line 2
sum = sum + score
^
2019-12-15
举报