Answer: Python Puzzler #138

The answer is A. The program prints:

115
What the program prints
Checked by running the program for real.

Why?

sum adds up all the numbers in the list.

The code again

scores = [26, 19, 24, 27, 7, 12]
print(sum(scores))

Try it: change one number in the program and predict the new output before you run it.