Answer: Python Puzzler #335

The answer is C. The program prints:

robot-robot-robot-robot-
What the program prints
Checked by running the program for real.

Why?

Multiplying a string by a number repeats it. * 4 makes 4 copies, joined together with nothing in between (the ‘-‘ is part of each copy).

The code again

word = "robot"
print((word + "-") * 4)

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