Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'builtin': 0.07; 'referring': 0.07; 'received:mail-vc0-f174.google.com': 0.09; 'sep': 0.09; 'cc:addr:python-list': 0.10; 'language,': 0.11; 'simpler,': 0.16; 'wrote:': 0.17; 'simpler': 0.22; 'example': 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'functions.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'priority': 0.29; 'received:209.85.220.174': 0.29; "i'm": 0.29; 'usually': 0.30; 'function': 0.30; 'code': 0.31; 'function.': 0.33; 'received:google.com': 0.34; 'built-in': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'should': 0.36; 'too': 0.36; 'level': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'header:Received:5': 0.40; 'provide': 0.62; 'to,': 0.65; 'subject:For': 0.75; 'yourself': 0.77 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=STuIV3Ak2dHORmZJBih5/qPtgJDjUs1nA63IKUDCz9s=; b=IELsUVN16jp+aCkPr1qEIQJpQui2/sfPO7NCWvAbhkjTCYIXZEqQrOuCjc0oeSWwqk TtEwv2QNwW7G0BXnRSYWbNUMmThToQfk1Kt/Br/cq5fjXofORyZHWTvOUb3Q1CgMtbbB vJ8rp+ZpwC4xECGJunLV8aEJf3MrZPRzv2/a0xd/2WCZBjtd3LNvfdjVT1X+3b2aGkK4 Q3dRMlmjFaJgHX3C037TX3/cFMQyiyrhXSr7yjMRWgQDPZW1M1xirtQOQ9y7b4KLzCru l7fS47yHNuV0xZU5sLi+hpEraptr0E3+u8HEvy0ixv8bthcOA7+6uIuIvlEEQdaCYG7L SCTw== MIME-Version: 1.0 In-Reply-To: References: <10965867-a44f-4146-aea2-fd1a1e8f8e3b@googlegroups.com> <5060DA00.10801@stoneleaf.us> Date: Mon, 24 Sep 2012 19:39:01 -0400 Subject: Re: For Counter Variable From: Dwight Hutto To: Joshua Landau 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348529944 news.xs4all.nl 6873 [2001:888:2000:d::a6]:40218 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29962 On Sep 25, 8:26 am, Dwight Hutto wrote: > It's a function usage. Not to be too serious, there are usually > simpler solutions, and built in functions. `enumerate` _is_ a built-in function. Please provide an example of a "simpler solution". It's not the simpler solution I'm referring to, it's the fact that if you're learning, then you should be able to design the built-in, not just use it. You don't always know all the built-ins, so the builtin is simpler, but knowing how to code it yourself is the priority of learning to code in a higher level language, which should be simpler to the user of python. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com