diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-09-15 13:56:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-15 13:56:43 (GMT) |
commit | a0da90720d5330c53b8083272374ede1c7a1e33a (patch) | |
tree | ab688360bab036fa5103c25d9bbd72889c7429a5 /Doc/tutorial | |
parent | 624cc10ee4aae513be9f2812f6f5621b6f32f17c (diff) | |
download | cpython-a0da90720d5330c53b8083272374ede1c7a1e33a.zip cpython-a0da90720d5330c53b8083272374ede1c7a1e33a.tar.gz cpython-a0da90720d5330c53b8083272374ede1c7a1e33a.tar.bz2 |
bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) (GH-22256)
Revise example of "continue" in the tutorial documentation
(cherry picked from commit 7bcc6456ad4704da9b287c8045768fa53961adc5)
Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com>
Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 547f4ae..3af288a 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -207,15 +207,15 @@ iteration of the loop:: ... if num % 2 == 0: ... print("Found an even number", num) ... continue - ... print("Found a number", num) + ... print("Found an odd number", num) Found an even number 2 - Found a number 3 + Found an odd number 3 Found an even number 4 - Found a number 5 + Found an odd number 5 Found an even number 6 - Found a number 7 + Found an odd number 7 Found an even number 8 - Found a number 9 + Found an odd number 9 .. _tut-pass: |