Skip to content

Commit 88313fa

Browse files
authored
Merge pull request #69 from arvindh-manian/fixep12
Fix cumulative sum task
2 parents a0e4134 + 8904df4 commit 88313fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_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)