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

Skip to content

Commit 7d82106

Browse files
committed
Wording fix.
1 parent eb1f4aa commit 7d82106

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ The :func:`range` Function
8787
If you do need to iterate over a sequence of numbers, the built-in function
8888
:func:`range` comes in handy. It generates arithmetic progressions::
8989

90-
9190
>>> for i in range(5):
9291
... print(i)
9392
...
@@ -97,9 +96,7 @@ If you do need to iterate over a sequence of numbers, the built-in function
9796
3
9897
4
9998

100-
101-
102-
The given end point is never part of the generated list; ``range(10)`` generates
99+
The given end point is never part of the generated sequence; ``range(10)`` generates
103100
10 values, the legal indices for items of a sequence of length 10. It
104101
is possible to let the range start at another number, or to specify a different
105102
increment (even negative; sometimes this is called the 'step')::

0 commit comments

Comments
 (0)