Python (2.x) list / sublist selection -1 weirdness

In list[first:last]last is not included.

The 10th element is ls[9], in ls[0:10] there isn’t ls[10].

Leave a Comment