Commit 22b5dfb4 authored by Stefan Behnel's avatar Stefan Behnel

Change demo file back to original output style.

parent 15e05cfc
from __future__ import print_function
def fib(n):
"""Print the Fibonacci series up to n."""
a, b = 0, 1
while b < n:
print(b)
print(b, end=' ')
a, b = b, a + b
print()
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