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