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


Groups > comp.lang.python > #30317

RE: A little morning puzzle

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'completeness': 0.07; 'function,': 0.07; 'received:155': 0.09; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:159.53.110': 0.16; 'received:159.53.110.174': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:sj2.jpmchase.com': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'wrote:': 0.17; 'to:name:python-list@python.org': 0.20; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'accuracy': 0.27; "doesn't": 0.28; 'correct': 0.28; 'index,': 0.29; 'received:169': 0.29; "skip:' 10": 0.30; 'code': 0.31; 'suggestion': 0.32; 'to:addr:python- list': 0.33; 'point.': 0.33; 'charset:us-ascii': 0.36; 'being': 0.37; 'maintaining': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; 'first': 0.61; 'information,': 0.63; 'url:email': 0.63; 'legal': 0.65; 'due': 0.66; 'subject': 0.66; 'purchase': 0.67; 'sale': 0.76; 'moot': 0.84; 'ostensibly': 0.84; 'received:169.254.8': 0.84; 'mean.': 0.91
X-DKIM OpenDKIM Filter v2.1.3 sj2.jpmchase.com q8RHxMp7001661
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1348768762; bh=1NU5Hc435iSjUFG3lfxUwokgRNM4Q4A66XSbHIFX29A=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=Y+sVRpj3z+EFcL6v5SmUdG1I4xesbvzGITvfQhxOJd0yCHGsV3ztoyGXCTrlCLMcU 4L1IbwmC4g15NdTJzj4TNX+N6ozz6UuEgwlXkFr2GNkdW8mYwfOcV4xwH7wa2LyGmv mUn2C95W2Zf+uhliRGI9rQMrUjmwKcFyuiGg+S0k=
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: A little morning puzzle
Thread-Topic A little morning puzzle
Thread-Index AQHNmgcqkMMfW43ZWkeaPQ/Ob1h1h5eaREsAgAQ6sCA=
Date Thu, 27 Sep 2012 17:58:21 +0000
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> <CA+vVgJXg=Yv7DneX4zOUALy0Ea2e_gFag87WemF99=7LrBHw6A@mail.gmail.com>
In-Reply-To <CA+vVgJXg=Yv7DneX4zOUALy0Ea2e_gFag87WemF99=7LrBHw6A@mail.gmail.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.67.79.47]
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-DLP-FWD Yes
Content-Type text/plain; charset="us-ascii"
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.1506.1348768766.27098.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348768766 news.xs4all.nl 6958 [2001:888:2000:d::a6]:39711
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30317

Show key headers only | View raw


Dwight Hutto wrote:
> > 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.
> 

Can you rephrase your first sentence? I am not sure what
you mean.
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

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