Pykeep
Keep
Workshop
Board
Codex
—
Back to courtyard
The Reliquary · Stone · 4 min
sum 5
Print the sum of [5,4,3,2,1] using a loop or sum().
Lv 1
·
22/22
·
3/1
·
3
Match the required output
sum(xs) is allowed.
15
1
2
3
4
5
6
7
8
xs = [
5
,
4
,
3
,
2
,
1
]
xs = [5,4,3,2,1]
Run
Reset
Hint
The stone is quiet.
Keep
Workshop
Board
Codex