3 ms·
Python's -1 is the 0-based index of the last element.
by IncRnd 6y ago
Python's -1 is the 0-based index of the last element.
- robertlagrant 6y agoSurely it should be -0 :-)
- throw386452 6y ago~0 is the new -1 :)
- IncRnd 6y agoThat's true. :)
- IncRnd 6y agoIt's sort of the reverse direction 0-index :).