Skip to content

Commit 9f809a2

Browse files
neerajsamtanixzy3-cdc
authored andcommitted
bpo-41776: Revise example of "continue" in the tutorial documentation (pythonGH-22234)
Revise example of "continue" in the tutorial documentation
1 parent bdc7a92 commit 9f809a2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/tutorial/controlflow.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,15 @@ iteration of the loop::
210210
... if num % 2 == 0:
211211
... print("Found an even number", num)
212212
... continue
213-
... print("Found a number", num)
213+
... print("Found an odd number", num)
214214
Found an even number 2
215-
Found a number 3
215+
Found an odd number 3
216216
Found an even number 4
217-
Found a number 5
217+
Found an odd number 5
218218
Found an even number 6
219-
Found a number 7
219+
Found an odd number 7
220220
Found an even number 8
221-
Found a number 9
221+
Found an odd number 9
222222

223223
.. _tut-pass:
224224

0 commit comments

Comments
 (0)