Pykeep
Keep
Workshop
Board
Codex
—
Back to courtyard
Forked Paths · Stone · 4 min
abs branch -9
Print the absolute value of -9 using if, not abs().
Lv 1
·
22/22
·
3/1
·
3
Match the required output
if n < 0: print -n else print n
9
1
2
3
4
5
6
7
8
n = -
9
n = -9
Run
Reset
Hint
The stone is quiet.
Keep
Workshop
Board
Codex