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