diff options
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 3c0f88e..1564e96 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -195,7 +195,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) |