diff --git a/docs/examples/tutorial/fib1/fib.pyx b/docs/examples/tutorial/fib1/fib.pyx index 043d71e5b3e48b9f1290a5659aaa7e96724299d5..a6cf54a45cc0377e64c6d5337156d66f4d7de526 100644 --- a/docs/examples/tutorial/fib1/fib.pyx +++ b/docs/examples/tutorial/fib1/fib.pyx @@ -2,5 +2,5 @@ def fib(n): """Print the Fibonacci series up to n.""" a, b = 0, 1 while b < n: - print b, + print(b) a, b = b, a + b