How to Index and Slice Strings - Python | Eiconik Academy

Опубликовано: 24 Июль 2026
на канале: Eiconik Academy
36
1

Strings in python support indexing and slicing. To extract a single character from a string, follow the string with the index of the desired character surrounded by square brackets ([ ]), remembering that the first character of a string has index zero.
-------------------------------------------------------------------
Fb Page:   / eiconikacademy  
Website: http://www.eiconik.com/ Youtube:    / @eiconikacademy8774