Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b35af commit 3db5e7bCopy full SHA for 3db5e7b
1 file changed
Doc/reference/compound_stmts.rst
@@ -182,7 +182,7 @@ the next item assigned to it.
182
Names in the target list are not deleted when the loop is finished, but if the
183
sequence is empty, it will not have been assigned to at all by the loop. Hint:
184
the built-in function :func:`range` returns an iterator of integers suitable to
185
-emulate the effect of Pascal's ``for i := a to b do``; e.g., ``range(3)``
+emulate the effect of Pascal's ``for i := a to b do``; e.g., ``list(range(3))``
186
returns the list ``[0, 1, 2]``.
187
188
.. note::
0 commit comments