Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31a1190

Browse files
committed
tutorial typo fix
1 parent 75fd225 commit 31a1190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ The :keyword:`continue` statement, also borrowed from C, continues with the next
195195
iteration of the loop::
196196

197197
>>> for num in range(2, 10):
198-
... if x % 2 == 0:
198+
... if num % 2 == 0:
199199
... print("Found an even number", num)
200200
... continue
201201
... print("Found a number", num)

0 commit comments

Comments
 (0)