The answer D.
Put the except IndexError to catch IndexError which gets raised when the statement gets executed.
9.4m questions
12.2m answers