Answer: Python Puzzler #2217

The answer is B. The program prints:

4

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 = [20, 21, 13, 5]
print(len(scores))

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