The answer is C. The program prints:
42

Why?
sum adds up all the numbers in the list.
The code again
scores = [9, 7, 25, 1]
print(sum(scores))
Try it: change one number in the program and predict the new output before you run it.
The answer is C. The program prints:
42

sum adds up all the numbers in the list.
scores = [9, 7, 25, 1]
print(sum(scores))
Try it: change one number in the program and predict the new output before you run it.