Commits

Michael Markert  committed 879b211

Fixed #106.

  • Participants
  • Parent commits 52409db
  • Branches python-3.1

Comments (0)

Files changed (1)

File source/controlflow.rst

     ...     """Print the Fibonacci series up to n."""
     ...     a, b = 0, 1
     ...     while a < n:
-    ...         print(b, end=' ')
+    ...         print(a, end=' ')
     ...         a, b = b, a+b
     ...     print()
     ...