You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _sources/functions/funcWithListsAndLoops.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -330,6 +330,10 @@ the built-in ``range`` function to do this.
330
330
# function call
331
331
main()
332
332
333
+
.. note::
334
+
335
+
The function ``range(start, end, by)`` will return a range object (an iterator) that allows you to loop from ``start`` (inclusive) to ``end`` (exclusive) and add the value of ``by`` after each execution of the loop.
0 commit comments