Python (2.x) list / sublist selection -1 weirdness December 18, 2021 by admin In list[first:last], last is not included. The 10th element is ls[9], in ls[0:10] there isn’t ls[10].