tests/fib.py | raw changeset files shortlog |
1.1 --- a/tests/fib.py Tue Jan 24 17:20:35 2017 +0100 1.2 +++ b/tests/fib.py Tue Jan 24 19:10:31 2017 +0100 1.3 @@ -4,8 +4,7 @@ 1.4 1.5 def next(self): 1.6 result = self.b 1.7 - #self.a, self.b = self.b, self.a + self.b 1.8 - self.b, self.a = self.a + self.b, result 1.9 + self.a, self.b = self.b, self.a + self.b 1.10 return result 1.11 1.12 seq = fib()