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 7bcc6456ad)

Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com>

Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com>
This commit is contained in:
Miss Islington (bot) 2020-09-15 06:56:43 -07:00 committed by GitHub
parent 624cc10ee4
commit a0da90720d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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: