Commit 26b12c26 authored by gabrieldemarmiesse's avatar gabrieldemarmiesse

Forgot a typo.

parent 55398f58
...@@ -2,5 +2,5 @@ def fib(n): ...@@ -2,5 +2,5 @@ def fib(n):
"""Print the Fibonacci series up to n.""" """Print the Fibonacci series up to n."""
a, b = 0, 1 a, b = 0, 1
while b < n: while b < n:
print b, print(b)
a, b = b, a + b a, b = b, a + b
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment