-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed as duplicate of#128067
Labels
OS-windowsdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-replRelated to the interactive shellRelated to the interactive shell
Description
Documentation
(A clear and concise description of the issue.)
Learning python for the first time. Got to section 3.2 on the tutorial.pdf document.
First while loop, with Fibonacci, in section, no problem. Works the same.
However, when I get to the last while loop for Fibonacci, I get a different result.
The output in the document shows: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,
However, my output is: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,
Inclusion of end somehow removed the first 0, 1. Not sure why. Tutorial and console is 3.13.3.
I'll provide screenshots later tonight (if needed).
Any help figuring out why is welcomed. And yes, I did double check the syntax was correct.
Metadata
Metadata
Assignees
Labels
OS-windowsdocsDocumentation in the Doc dirDocumentation in the Doc dirtopic-replRelated to the interactive shellRelated to the interactive shell
Projects
Status
Todo