Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50400

Re: python for loop

From Chris Nash <cndefend-stuff@yahoo.co.uk>
Subject Re: python for loop
Date 2013-07-10 16:43 +0000
References (5 earlier) <mailman.3062.1238557963.11746.python-list@python.org> <pan.2009.04.01.08.06.27@REMOVE.THIS.cybersource.com.au> <bd54c2f2-08a4-4854-a353-617bf731a23e@v1g2000prd.googlegroups.com> <pan.2009.04.02.06.29.51@REMOVE.THIS.cybersource.com.au> <ffaef513-b37a-41e9-b1c2-1e01fc2a8475@e18g2000yqo.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.4555.1373499906.3114.python-list@python.org> (permalink)

Show all headers | View raw


The first item in a sequence is at index zero because it is that far away from 
the beginning. The second item is one away from the beginning. That is the 
reason for zero-based indexing.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python for loop Chris Nash <cndefend-stuff@yahoo.co.uk> - 2013-07-10 16:43 +0000

csiph-web