Pykeep
Keep
Workshop
Board
Codex
—
Back to courtyard
The Archive · Stone · 3 min
get ken
Print d.get("ken", 0) from a dict that may or may not have it.
Lv 1
·
22/22
·
3/1
·
3
Match the required output
.get with default.
4
1
2
3
4
5
6
7
8
d = {
"ken"
:
4
}
d = {"ken": 4}
Run
Reset
Hint
The stone is quiet.
Keep
Workshop
Board
Codex