Answer: Python Puzzler #1880

The answer is D. The program prints:

reward
What the program prints
Checked by running the program for real.

Why?

[::-1] is a slice that steps backwards through the string, so it reverses it.

The code again

word = "drawer"
print(word[::-1])

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