Skip to content
CodeKruPro

The same key twice in a dict

Predict the outputEasyPython only
main.py
d = {"a": 1, "b": 2, "a": 3}
print(d)
print(len(d))
d["c"] = 4
d["a"] = 5
print(d)

Graded by exact match. Spaces at the ends of lines and blank lines at the end do not count.

to answer and keep your progress. Reading is free for everyone.