Positive indexing starts from 0 (the first character) and increments toward the end of the string. It’s intuitive and commonly used.
Negative indexing allows you to count characters backward from the end of the string, starting with -1 for the last character.| Feature | Positive Indexing | Negative Indexing |
| Starting Point | 0 (first character) | -1 (last character) |
| Direction of Indexing | Left to Right | Right to Left |
| Common Use Case | Sequential access | Accessing characters from end |
