diff options
author | Neeraj Samtani <neerajjsamtani@gmail.com> | 2020-09-15 13:39:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-15 13:39:29 (GMT) |
commit | 7bcc6456ad4704da9b287c8045768fa53961adc5 (patch) | |
tree | 759e7e7c2017c60c9bfbbb8b6152b00ed75965e7 /Doc | |
parent | 95a8a0e01d1f4f49ad6b4d4f2ae3bbf93c462013 (diff) | |
download | cpython-7bcc6456ad4704da9b287c8045768fa53961adc5.zip cpython-7bcc6456ad4704da9b287c8045768fa53961adc5.tar.gz cpython-7bcc6456ad4704da9b287c8045768fa53961adc5.tar.bz2 |
bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234)
Revise example of "continue" in the tutorial documentation
Diffstat (limited to 'Doc')
-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 5d24a19..b8aec2b 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -210,15 +210,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: |