Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[Discussion] 0 indexing -vs- 1 indexing

Name: Sagey McSagerson 2011-04-05 23:03

Discuss: Which is superior and why. Go go go go go

Name: Anonymous 2011-04-07 7:15

>>> x[-1] == x[~0]
True


Wait a second. Wait a second here. I can use [~i] to address the i-th element from the end of the list, zero-based?!

I'm so going to use it!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List