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


Groups > comp.lang.python > #50400

Re: python for loop

Path csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'message- id:@post.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; 'index': 0.16; 'header:User-Agent:1': 0.23; 'second': 0.26; 'header:X -Complaints-To:1': 0.27; 'sequence': 0.36; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'received:194': 0.64
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Chris Nash <cndefend-stuff@yahoo.co.uk>
Subject Re: python for loop
Date Wed, 10 Jul 2013 16:43:15 +0000 (UTC)
References <0rc5t4l6lqethggahj6auupb5vj67j78gk@4ax.com> <mailman.3047.1238547927.11746.python-list@python.org> <72i5t4tgfo2h4gd6ggcs02flkca85kgoku@4ax.com> <0dbc9665-3ee8-4d62-8e9e-75c6d700076e@f1g2000prb.googlegroups.com> <ipl5t41e62ajrh21850hb4l9kuertdc4ma@4ax.com> <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>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host sea.gmane.org
User-Agent Loom/3.14 (http://gmane.org/)
X-Loom-IP 194.106.220.19 (Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4555.1373499906.3114.python-list@python.org> (permalink)
Lines 4
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373499906 news.xs4all.nl 15893 [2001:888:2000:d::a6]:39983
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50400

Show key headers only | 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