[New-bugs-announce] [issue41666] Problem in tutorial/introduction.html#strings

M-o-T report at bugs.python.org
Sun Aug 30 08:22:16 EDT 2020


New submission from M-o-T <mohammadtavakoli1378 at gmail.com>:

Hi, I found a problem with this address
https://docs.python.org/3/tutorial/introduction.html#strings

In here
>>> word[0:2]  # characters from position 0 (included) to 2 (excluded)
'Py'
>>> word[2:5]  # characters from position 2 (included) to 5 (excluded)
'tho'

In the second example word[2:5] becomes 'hto'

----------
messages: 376104
nosy: mohammadtavakoli1378
priority: normal
severity: normal
status: open
title: Problem in tutorial/introduction.html#strings
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41666>
_______________________________________


More information about the New-bugs-announce mailing list