Newbie: The philosophy behind list indexes
Peter Otten
__peter__ at web.de
Sat Jun 15 02:42:48 EDT 2013
Chris Rebert wrote:
> On Jun 14, 2013 10:26 PM, <ian.l.cameron at gmail.com> wrote:
>> What is the thinking behind stopping 'one short' when slicing or
>> iterating through lists?
> I find Dijkstra's explanation rather convincing:
> http://www.cs.utexas.edu/~EWD/transcriptions/EWD08xx/EWD831.html
This is the only case where I prefer the pdf ;)
http://www.cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF
More information about the Python-list
mailing list