Answer: Python Puzzler #224

The answer is D. The program prints:

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

Why?

len tells you how many items are in the list.

The code again

scores = [24, 29, 10, 17, 16, 2]
print(len(scores))

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