Answer: Python Puzzler #3177

The answer is D. The program prints:

zip!beep!bit!ping

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 = ["zip", "beep", "bit", "ping"]
print("!".join(sounds))

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