Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.079 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'function,': 0.07; 'received:mail-vc0-f174.google.com': 0.09; 'cc:addr:python-list': 0.10; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'correct': 0.28; 'index,': 0.29; 'received:209.85.220.174': 0.29; "skip:' 10": 0.30; 'code': 0.31; 'suggestion': 0.32; 'point.': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'being': 0.37; 'maintaining': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'header:Received:5': 0.40; 'your': 0.60; 'due': 0.66; 'moot': 0.84; 'ostensibly': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Jit2w9u+W65Dg38rXQi4jydnCBNzWPxlI1bL2Pl/72U=; b=rhLvoWLis+OtGM++u+weDbrz+Ah0NH859A9RulSBzbAiGhAbfskyPEfL1M8FrC8D8v KTjCR6vLHM+Lbb8U4HTk+7XeEBPTL0gaF2h+ExyFnIzXYbp3FtD/PXRVRcoTE1uqZJgl Df8HXduK8vz1NjMoLQ1WFuyx5GzhM+8fI3UCIJ7Y04RAJGHWirrGYuCFIYz/ZU7qWh+p X8QoAqp/xRXM5pgnzHbL1SZuZISkL0SjUurw0aUvojdkqUivrjID4G63VZ/0Df7J8PLQ BChQSaN9mqPPiGCG6BIaudBulYzOhwVOfn2kfc2QYbKYUrwetyVcSG4yeErzwA71To0l UpdQ== MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 24 Sep 2012 17:22:06 -0400 Subject: Re: A little morning puzzle From: Dwight Hutto To: alex23 Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348521729 news.xs4all.nl 6913 [2001:888:2000:d::a6]:36514 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29932 > Ergo: 'enumerate()' is the correct suggestion over manually > maintaining your own index, despite it ostensibly being "more" code > due to its implementation. But, therefore, that doesn't mean that the coder can just USE a function, and not be able to design it themselves. So 'correct suggestion' is a moot point. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com