The answer is B. The program prints:
102

Why?
sum adds up all the numbers in the list.
The code again
scores = [10, 17, 13, 28, 18, 16]
print(sum(scores))
Try it: change one number in the program and predict the new output before you run it.
The answer is B. The program prints:
102

sum adds up all the numbers in the list.
scores = [10, 17, 13, 28, 18, 16]
print(sum(scores))
Try it: change one number in the program and predict the new output before you run it.