In this program the line marked ____ is missing. It should be an except clause.
stock = {"pens": 4}
try:
print(stock["ink"])
____
print("caught")
Which lines, put in place of ____, make the program print caught? Choose every correct option.
One or more options are correct. Tick all the correct ones: a wrong option costs marks, and a part-right answer earns part of the marks.
Log in to join the discussion.
Loading…