Hey fags. Python is the best programing language of all time. If you disagree you're a poopoo face poopoo jerkhead fucker poop
Name:
Anonymous2009-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.