Y
Hacker News
new
|
ask
|
show
|
jobs
by
jniedrauer
1992 days ago
You can also think of negative indexes as a shorthand for length-N. arr[-1] is the same as arr[len(arr)-1].