The answer is D. The program prints:
6

Why?
len tells you how many items are in the list.
The code again
scores = [3, 27, 14, 4, 15, 17]
print(len(scores))
Try it: change one number in the program and predict the new output before you run it.
The answer is D. The program prints:
6

len tells you how many items are in the list.
scores = [3, 27, 14, 4, 15, 17]
print(len(scores))
Try it: change one number in the program and predict the new output before you run it.