Answer: Python Puzzler #2251

The answer is D. The program prints:

3

This answer was checked by running the program for real.

Why?

len tells you how many items are in the list.

The code again

scores = [2, 28, 17]
print(len(scores))

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