8000 gh-107017: Rework the Fibonacci example by TommyUnreal · Pull Request #107132 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-107017: Rework the Fibonacci example #107132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/tutorial/introduction.rst
More precise and clearer wording.

Co-authored-by: Caeden Perelli-Harris <caedenperelliharris@gmail.com>
  • Loading branch information
TommyUnreal and CaedenPH authored Jul 29, 2023
commit 6ad017560289bbf81c17b396f07d013f2710ab30
2 changes: 1 addition & 1 deletion Doc/tutorial/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Repeating our code
------------------

The :keyword:`while` loop is example of a repeating cycle. It performs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The :keyword:`while` loop is example of a repeating cycle. It performs
The :keyword:`while` loop is an example of a repeating cycle. It performs

a block of code over as long as the condition is
a block of code continuously as long as the condition is
fulfilled. The test used in the example is a simple comparison you might
know from arithmetics. Fulfilled condition have the value ``True``.
Unfulfilled condition have the value ``False``::
Expand Down
0