Predict

Safe Lookups

Time to test your dictionary instincts.

stock = {"apples": 3, "pears": 0}
stock["apples"] += 2
print(stock.get("plums", "none"), stock["apples"])

What does this program print?