2. Slicing¶
Slice from the first index to the one before the second
We can omit indices by substituting the corresponding end and we can also have negative indices: -1 is the last one, -2 the penultimate
2.1. Slice increment¶
I can use an increment when slicing the string
Check if a word is a palindrome
You have attempted of activities on this page