The answer is D. The program prints:
grape

Why?
Python counts list positions from 0, so position 3 is the fourth item.
Trace table
A trace table follows the program step by step. Here’s this one:
| position | negative position | item |
|---|---|---|
| 0 | -5 | carrot |
| 1 | -4 | plum |
| 2 | -3 | pear |
| 3 | -2 | grape |
| 4 | -1 | mango |
The code again
basket = ["carrot", "plum", "pear", "grape", "mango"]
print(basket[3])
Try it: change one number in the program and predict the new output before you run it.