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.
Slicing
We have to specify the start and the last index.
Spaces are also counted as parts of the index.
Resources I used
I used github and python series by Bonaventure Ogeto on youtube
What's next
Tomorrow I'll be learning on string methods and operations.
Top comments (0)