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


Groups > comp.lang.python > #66962

Re: Functions help

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <swdunning@cox.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:help': 0.08; 'lawrence': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '11:09': 0.16; '23,': 0.16; 'loops': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'received:10.0.1': 0.19; 'meant': 0.20; 'feb': 0.22; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'url:mailman': 0.30; 'indentation': 0.31; 'url:python': 0.33; 'there': 0.35; 'url:listinfo': 0.36; 'received:10.0': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'pm,': 0.38; 'url:mail': 0.40; 'header:Message-Id:1': 0.63; 'to:addr:gmail.com': 0.65; 'charset:windows-1252': 0.65; 'obvious': 0.74; '2014,': 0.84; 'haven\x92t': 0.84; 'received:68.230.241.237': 0.84
X-CT-Class Clean
X-CT-Score 0.00
X-CT-RefID str=0001.0A02020A.530AA3CE.00B3,ss=1,re=0.000,fgs=0
X-CT-Spam 0
X-Authority-Analysis v=2.0 cv=BJhtWisG c=1 sm=1 a=MB85R812cvcrhCHz/P2OVA==:17 a=G8Uczd0VNMoA:10 a=N659UExz7-8A:10 a=kviXuzpPAAAA:8 a=dLIZIbpXczQA:10 a=pGLkceISAAAA:8 a=8AHkEIZyAAAA:8 a=tAc07yvhHJV5-sGhBSoA:9 a=pILNOxqGKmIA:10 a=MSl-tDqOz04A:10 a=DcO0p_IGvTQA:10 a=VcEk8XuVBzUA:10 a=MB85R812cvcrhCHz/P2OVA==:117
X-CM-Score 0.00
Authentication-Results cox.net; auth=pass (PLAIN) smtp.auth=swdunning@cox.net
Content-Type text/plain; charset=windows-1252
Mime-Version 1.0 (Mac OS X Mail 7.1 \(1827\))
Subject Re: Functions help
From Scott W Dunning <swdunning@cox.net>
In-Reply-To <W1iA1n01G3bjUJS011iCne>
Date Sun, 23 Feb 2014 18:43:40 -0700
Content-Transfer-Encoding quoted-printable
References <mailman.7276.1393141556.18130.python-list@python.org> <lee59o$t23$1@dont-email.me> <mailman.7297.1393204171.18130.python-list@python.org> <W1iA1n01G3bjUJS011iCne>
To alex23 <wuwei23@gmail.com>
X-Mailer Apple Mail (2.1827)
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7302.1393208427.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1393208427 news.xs4all.nl 2866 [2001:888:2000:d::a6]:36598
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66962

Show key headers only | View raw


I understood what you meant because I looked up loops in the python documentation since we haven’t got there yet in school. 


On Feb 23, 2014, at 6:39 PM, alex23 <wuwei23@gmail.com> wrote:

> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>> On 24/02/2014 00:55, alex23 wrote:
>>> 
>>>     for _ in range(5):
>>>     func()
>> 
>> the obvious indentation error above
> 
> Stupid cut&paste :(
> -- 
> https://mail.python.org/mailman/listinfo/python-list

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


Thread

Functions help Scott W Dunning <swdunning@cox.net> - 2014-02-22 22:43 -0700
  Re: Functions help Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-23 08:44 +0000
  Re: Functions help alex23 <wuwei23@gmail.com> - 2014-02-24 10:55 +1000
    Re: Functions help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-24 01:09 +0000
      Re: Functions help alex23 <wuwei23@gmail.com> - 2014-02-24 11:39 +1000
        Re: Functions help Benjamin Kaplan <benjamin.kaplan@case.edu> - 2014-02-23 18:55 -0800
          Re: Functions help Grant Edwards <invalid@invalid.invalid> - 2014-02-24 15:38 +0000
        Re: Functions help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-24 03:21 +0000
          Re: Functions help rurpy@yahoo.com - 2014-02-23 20:01 -0800
            Re: Functions help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-24 13:59 +0000
            Re: Functions help Ethan Furman <ethan@stoneleaf.us> - 2014-02-25 18:52 -0800
              Re: Functions help rurpy@yahoo.com - 2014-02-26 17:06 -0800
        Re: Functions help MRAB <python@mrabarnett.plus.com> - 2014-02-24 03:36 +0000
      Re: Functions help Scott W Dunning <swdunning@cox.net> - 2014-02-23 18:43 -0700
      Re: Functions help Roy Smith <roy@panix.com> - 2014-02-23 20:28 -0500
    Re: Functions help Travis Griggs <travisgriggs@gmail.com> - 2014-02-23 17:27 -0800
  Re: Functions help "Rhodri James" <rhodri@wildebst.org.uk> - 2014-02-24 01:01 +0000
    Re: Functions help Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-02-24 21:18 -0500
      Re: Functions help "Rhodri James" <rhodri@wildebst.org.uk> - 2014-02-27 22:49 +0000
  Re: Functions help Scott W Dunning <swdunning@cox.net> - 2014-02-23 18:24 -0700
  Re: Functions help sffjunkie@gmail.com - 2014-02-24 02:15 -0800
  Re: Functions help sffjunkie@gmail.com - 2014-02-24 02:32 -0800

csiph-web