Answer: Python Puzzler #873

The answer is A. The program prints:

zap!beep!byte!bit
What the program prints
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", "beep", "byte", "bit"]
print("!".join(sounds))

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