syntax: string[start:stop]
stop not included
В срезах последний индекс игнорируется
string[start:stop:step]
string[::2] from start with one step
string[::-1] it will show revered string!!!
Reference:
- Добрый Python. Балакирев
Search
Sep 01, 20241 min read
syntax: string[start:stop]
stop not included
В срезах последний индекс игнорируется
string[start:stop:step]
string[::2] from start with one step
string[::-1] it will show revered string!!!
Nov 18, 2024
Nov 18, 2024
Nov 18, 2024
Nov 18, 2024