Elementry question on indeces
Thomas A. Bryan
tbryan at python.net
Sun Mar 5 06:03:35 CET 2000
[..in a reply to an answer to a sequence slicing question..]
> OK, got it....thanks.
> I would question why it's done this way, but I guess I should read on.
I often find it convenient that Lst[x:z] covers the same elements as does
Lst[x:y] and Lst[y:z] for any indices 0 <= x <= y <= z <= len(Lst). Perhaps
you'll come to like this feature when you start using it more often in your
More information about the Python-list