We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 385e952 commit 7c52351Copy full SHA for 7c52351
1 file changed
python3/koans/about_iteration.py
@@ -8,12 +8,12 @@ class AboutIteration(Koan):
8
def test_iterators_are_a_type(self):
9
it = iter(range(1,6))
10
11
- fib = 0
+ total = 0
12
13
for num in it:
14
- fib += num
+ total += num
15
16
- self.assertEqual(__ , fib)
+ self.assertEqual(__ , total)
17
18
def test_iterating_with_next(self):
19
stages = iter(['alpha','beta','gamma'])
0 commit comments