Pykeep
Keep
Workshop
Board
Codex
—
Back to courtyard
The Function Sanctum · Spell · 4 min
triple 12
triple(n) returns 3n. Tests include 12.
Lv 1
·
22/22
·
3/1
·
3
Define triple() so every test passes
Return 3 * n.
1
2
3
4
5
6
7
8
def
triple(n):
return
n
def triple(n): return n
Run
Reset
Hint
The stone is quiet.
Keep
Workshop
Board
Codex