mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix typo in tutorial
This commit is contained in:
parent
6ee2187cdc
commit
2cc49745a5
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ The :keyword:`continue` statement, also borrowed from C, continues with the next
|
|||
iteration of the loop::
|
||||
|
||||
>>> for num in range(2, 10):
|
||||
... if x % 2 == 0:
|
||||
... if num % 2 == 0:
|
||||
... print("Found an even number", num)
|
||||
... continue
|
||||
... print("Found a number", num)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue