Answer: Python Puzzler #1882

The answer is B. The program prints:

noon
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. This word is a palindrome: it reads the same both ways!

The code again

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

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