Skip to content

Commit 1f77135

Browse files
authored
Merge pull request #69 from arvindh-manian/fixep12
Fix cumulative sum task
2 parents c85e0c9 + 1fab101 commit 1f77135

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)