EasyOutput prediction
Missing key: [] vs .get()
What does this code print?
d = {"a": 1}
print(d.get("b", 0))
print(d.get("a", 99))← → arrow keys to navigate
Sign in to save your progress.
What does this code print?
d = {"a": 1}
print(d.get("b", 0))
print(d.get("a", 99))← → arrow keys to navigate
Sign in to save your progress.