Answer: Python Puzzler #2258

The answer is D. The program prints:

24

This answer was checked by running the program for real.

Why?

max finds the biggest number in the list.

The code again

scores = [23, 5, 18, 12, 24, 15]
print(max(scores))

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