[ python-Bugs-1161595 ] Minor error in section 3.2
SourceForge.net
noreply at sourceforge.net
Fri Mar 11 20:29:28 CET 2005
Bugs item #1161595, was opened at 2005-03-11 19:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1161595&group_id=5470
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Barbay (jyby)
Assigned to: Nobody/Anonymous (nobody)
Summary: Minor error in section 3.2
Initial Comment:
In the section "3.2 First Steps Towards Programming " of
the Python tutorial (http://docs.python.org/tut/node5.html),
the output of both implementations of the Fibonacci
sequence computation is incorrect.
As written, only one 1 should be output.
You should either remove one 1 from the input,
or replace the lines "print b" and "print b,"
by "print a" and "print a,".
This is minor but might confuse unnecessarily beginners.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1161595&group_id=5470
More information about the Python-bugs-list
mailing list