Answer: Python Puzzler #2171

The answer is A. The program prints:

6

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 = [19, 24, 5, 27, 1, 12]
print(len(scores))

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