[docs] can't get fibo documentation to work ; https://docs.python.org/3/tutorial/modules.html
Berker Peksağ
berker.peksag at gmail.com
Fri Jun 3 00:58:01 EDT 2016
On Thu, Jun 2, 2016 at 8:47 PM, Glenn Travis <pbfuddle at comcast.net> wrote:
>
>
>>>> import fibo
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "fibo.py", line 6
> print(b, end=' ')
> ^
> SyntaxError: invalid syntax
Hi Glenn,
print(b, end=' ')
is a Python 3 syntax so you'll either need to install Python 3 or try
the Python 2 version of the tutorial at
https://docs.python.org/2/tutorial/modules.html
--Berker
More information about the docs
mailing list