Answer: Python Puzzler #3019

The answer is B. The program prints:

zap-bit-pong-boop

This answer was checked by running the program for real.

Why?

join glues the items of a list together, putting ‘-‘ between each pair.

The code again

sounds = ["zap", "bit", "pong", "boop"]
print("-".join(sounds))

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