Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python3/koans/about_iteration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ class AboutIteration(Koan):
def test_iterators_are_a_type(self):
it = iter(range(1,6))

fib = 0
total = 0

for num in it:
fib += num
total += num

self.assertEqual(__ , fib)
self.assertEqual(__ , total)

def test_iterating_with_next(self):
stages = iter(['alpha','beta','gamma'])
Expand Down