EasyOutput prediction

Merging dicts with update()

What does this code print?

a = {"x": 1, "y": 2}
b = {"y": 99, "z": 3}
a.update(b)
print(a)

← → arrow keys to navigate

Sign in to save your progress.

Merging dicts with update() - Python Dictionaries Quiz | Unnested