A program updates a dictionary and asks it four questions. d = {"a": 1, "b": 2} d.update({"b": 20, "c": 30}) print(d.get("z", d["a"]), "20" in d, 20 in d.values(), len(d)) What does the program print?
1 True True 3
1 False True 3
1 False False 3
None False True 3
Log in to join the discussion.
Loading…