Skip to content

Commit 8904df4

Browse files
Fix cumulative sum task
1 parent a0e4134 commit 8904df4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

_episodes/12-for-loops.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ print(total)
320320
> cumulative = []
321321
> sum += number
322322
> print(cumulative)
323+
> sum = 0
323324
> data = [1,2,2,5]
324325
> ~~~
325326
> {: .python}

0 commit comments

Comments
 (0)