Answer: Python Puzzler #231

The answer is D. The program prints:

75
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 = [7, 17, 21, 27, 3]
print(sum(scores))

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