EasyOutput prediction
Dict merge with | operator (Python 3.9+)
What does this code print? (Python 3.9+)
a = {"x": 1, "y": 2}
b = {"y": 99, "z": 3}
c = a | b
print(c)
print(a)← → arrow keys to navigate
Sign in to save your progress.
What does this code print? (Python 3.9+)
a = {"x": 1, "y": 2}
b = {"y": 99, "z": 3}
c = a | b
print(c)
print(a)← → arrow keys to navigate
Sign in to save your progress.