News for hackers. Stuff that matters.
Re:Teaching the Unfortunate Parts by jniedrauer on Monday December 28, 2020 @07:59PM (#25565356)
You can also think of negative indexes as a shorthand for length-N. arr[-1] is the same as arr[len(arr)-1].

There are no comments on this comment yet.