Print d.get("codex", 0) from a dict that may or may not have it.
.get with default.
18
d = {"codex": 18}