Pykeep
Keep
Workshop
Board
Codex
—
Back to courtyard
Data Crypts · Spell · 4 min
sum_list 4
sum_list returns the total of a list. One test is [6,1,6,1].
Lv 1
·
22/22
·
3/1
·
3
Define sum_list() so every test passes
Accumulator.
1
2
3
4
5
6
7
8
def
sum_list(xs):
return
0
def sum_list(xs): return 0
Run
Reset
Hint
The stone is quiet.
Keep
Workshop
Board
Codex