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

Python 4 Lyfe

Name: pythonlovr89 2009-11-21 19:26

Hey fags. Python is the best programing language of all time. If you disagree you're a poopoo face poopoo jerkhead fucker poop

Name: Anonymous 2009-11-23 3:16

print "Hello"[1:3]
>>> el


So the first element of the subscript (in this case, 1) [i]starts from 0[i] and indicates the first character to start at.  The second element, however, starts counting from 1 -- even though the number before it CLEARLY FUCKING INDICATED THAT THE FIRST CHARACTER WAS CHARACTER 0 RATHER THAN CHARACTER 1.

EXPERT LANGUAGE DESIGN CHOICE !!!!

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