The answer is D. The program prints:
111

Why?
sum adds up all the numbers in the list.
The code again
scores = [14, 26, 17, 20, 5, 29]
print(sum(scores))
Try it: change one number in the program and predict the new output before you run it.
The answer is D. The program prints:
111

sum adds up all the numbers in the list.
scores = [14, 26, 17, 20, 5, 29]
print(sum(scores))
Try it: change one number in the program and predict the new output before you run it.