Answer: Python Puzzler #2241

The answer is A. The program prints:

49

This answer was checked by running the program for real.

Why?

sum adds up all the numbers in the list.

The code again

scores = [9, 8, 3, 16, 6, 7]
print(sum(scores))

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