EasyOutput prediction
Updating a key preserves its position
What does this code print? (Python 3.7+)
d = {"a": 1, "b": 2, "c": 3}
d["a"] = 99
print(list(d.keys()))← → arrow keys to navigate
Sign in to save your progress.
What does this code print? (Python 3.7+)
d = {"a": 1, "b": 2, "c": 3}
d["a"] = 99
print(list(d.keys()))← → arrow keys to navigate
Sign in to save your progress.