This commit is contained in:
David Beazley
2020-05-29 17:49:13 -05:00
parent 49134c91dc
commit 3c4be8138a

View File

@@ -77,7 +77,7 @@ You can also slice or select substrings specifying a range of indices with `:`.
```python
d = a[:5] # 'Hello'
e = a[6:] # 'world'
f = a[3:8] # 'lowo'
f = a[3:8] # 'lo wo'
g = a[-5:] # 'world'
```