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