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


Groups > comp.lang.python > #29932

Re: A little morning puzzle

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 <dwightdhutto@gmail.com>
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 <a5384f00-4962-40b5-8319-b5445dbd993c@rg9g2000pbc.googlegroups.com>
References <k3c9jb$2gr$1@ger.gmane.org> <CA+vVgJXh2PyeAT5LdWD6twijHPhmAoL9UPJxj+QJXvmey-WAgQ@mail.gmail.com> <mailman.911.1348056502.27098.python-list@python.org> <evH6s.1159$U54.270@newsfe01.iad> <mailman.1097.1348371868.27098.python-list@python.org> <a5384f00-4962-40b5-8319-b5445dbd993c@rg9g2000pbc.googlegroups.com>
Date Mon, 24 Sep 2012 17:22:06 -0400
Subject Re: A little morning puzzle
From Dwight Hutto <dwightdhutto@gmail.com>
To alex23 <wuwei23@gmail.com>
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 <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.1214.1348521729.27098.python-list@python.org> (permalink)
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

Show key headers only | View raw


> Ergo: 'enumerate(<some_list>)' 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

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


Thread

Re: A little morning puzzle Peter Otten <__peter__@web.de> - 2012-09-19 14:09 +0200
  Re: A little morning puzzle Tobiah <toby@tobiah.org> - 2012-09-20 09:28 -0700
    Re: A little morning puzzle Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-22 23:44 -0400
      Re: A little morning puzzle alex23 <wuwei23@gmail.com> - 2012-09-23 20:46 -0700
        Re: A little morning puzzle Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 17:22 -0400
        RE: A little morning puzzle "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-27 17:58 +0000
    Re: A little morning puzzle Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-23 22:51 -0600
    Re: A little morning puzzle Ethan Furman <ethan@stoneleaf.us> - 2012-09-24 14:18 -0700
    Re: A little morning puzzle Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 18:07 -0400
    Re: A little morning puzzle Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-24 17:01 -0600
    Re: A little morning puzzle Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:13 -0400

csiph-web