Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68828
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.061 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.01; 'exceeds': 0.09; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'iteration': 0.16; 'iteration.': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'starts': 0.20; 'header :User-Agent:1': 0.23; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'probably': 0.32; 'problems': 0.38; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'email addr:gmail.com': 0.63; '.....': 0.78; '100': 0.79; "'while'": 0.84; 'million.': 0.84; 'multiplying': 0.84 |
| X-CM-Score | 0.00 |
| X-CNFS-Analysis | v=2.1 cv=eZmzft0H c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=tLkI8qN_j18A:10 a=ihvODaAuJD4A:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=pGLkceISAAAA:8 a=lsexEMkpCBLnYF34ps8A:9 a=2t57C1_Q098AanmN:21 a=qrjI1Sr9PpmgS0-W:21 a=QEXdDO2ut3YA:10 a=MSl-tDqOz04A:10 a=Zg-aJLEkMgUA:10 a=OANVsteKdDcA:10 |
| X-AUTH | mrabarnett:2500 |
| Date | Mon, 24 Mar 2014 00:50:55 +0000 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: loop |
| References | <e2be2ed8-e2b8-427c-b826-e7240ecc5bdf@googlegroups.com> |
| In-Reply-To | <e2be2ed8-e2b8-427c-b826-e7240ecc5bdf@googlegroups.com> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| 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.8425.1395622263.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1395622263 news.xs4all.nl 2851 [2001:888:2000:d::a6]:36300 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:68828 |
Show key headers only | View raw
On 2014-03-24 00:35, pabloeruggeri@gmail.com wrote: > Hello, > > I'm trying to create a for loop that starts at 100 and goes to > 10Mllion. The increments are like this: 100, 1000, 10000, ..... > Basicaly adding a zero each iteration. I'm having problems trying to > do it. Can somebody help me > Probably better to use a 'while' loop instead, multiplying by 10 on each iteration until the number exceeds 10 million.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
loop pabloeruggeri@gmail.com - 2014-03-23 17:35 -0700
Re: loop MRAB <python@mrabarnett.plus.com> - 2014-03-24 00:50 +0000
Re: loop pabloeruggeri@gmail.com - 2014-03-23 17:57 -0700
Re: loop Chris Angelico <rosuav@gmail.com> - 2014-03-24 11:52 +1100
Re: loop Marko Rauhamaa <marko@pacujo.net> - 2014-03-24 09:47 +0200
Re: loop Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-24 09:40 +0000
Re: loop Marko Rauhamaa <marko@pacujo.net> - 2014-03-24 12:04 +0200
Re: loop Chris Angelico <rosuav@gmail.com> - 2014-03-24 21:58 +1100
Re: loop Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-24 00:56 +0000
Re: loop anton <bupphairodazz@yandex.ru> - 2014-03-23 17:59 -0700
Re: loop Mark H Harris <harrismh777@gmail.com> - 2014-03-23 22:30 -0500
Re: loop Ben Finney <ben+python@benfinney.id.au> - 2014-03-24 13:31 +1100
csiph-web