What I did today
How indexing strings works
How slicing strings works
I learned
Indexing
Indexes start from 0.
We incorporate indexing by using square brackets.
Example in action:
Slicing
We have to specify the start and the last index.
Spaces are also counted as parts of the index.
Example in action:
Resources I used
I used...
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3019030