Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
4 events
when toggle format what by license comment
Apr 16, 2019 at 15:10 audit First posts
Apr 16, 2019 at 15:10
Apr 15, 2019 at 16:56 comment added plugwash Be aware that list[-n] and list[len(list)-n] are only equivilent for values of n between 1 and len(list). This becomes especially important when slicing rather than indexing.
Apr 15, 2019 at 12:17 comment added user10658544 In my opinion this answer is better than the accepted one.
Apr 15, 2019 at 8:14 history answered rdas CC BY-SA 4.0