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


Groups > comp.lang.python > #68840

Re: loop

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.024
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'differently': 0.07; 'welcome.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'finney': 0.16; 'iteration.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'trying': 0.19; 'starts': 0.20; 'written': 0.21; 'header:User-Agent:1': 0.23; 'this:': 0.26; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; "i'm": 0.30; 'code': 0.31; 'behaving': 0.31; 'really,': 0.31; 'writes:': 0.31; "we're": 0.32; 'running': 0.33; 'problems': 0.38; 'ben': 0.38; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'email addr:gmail.com': 0.63; 'show': 0.63; 'love': 0.65; 'increase': 0.74; '.....': 0.78; '100': 0.79; 'received:125': 0.84; 'you;': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: loop
Date Mon, 24 Mar 2014 13:31:01 +1100
References <e2be2ed8-e2b8-427c-b826-e7240ecc5bdf@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xBD41714B
X-Public-Key-Fingerprint 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-gpg.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:OOHRuBDDyergXeYPSqXcgPjdEnk=
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.8432.1395628275.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395628275 news.xs4all.nl 2839 [2001:888:2000:d::a6]:47100
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68840

Show key headers only | View raw


pabloeruggeri@gmail.com writes:

> 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

Welcome.

What have you tried so far?

We're not in the practice of just writing the code for you; please show
us what you have written that we can try running it, and how it's
behaving differently from what you expect.

-- 
 \           “Oh, I love your magazine. My favorite section is ‘How To |
  `\          Increase Your Word Power’. That thing is really, really, |
_o__)                          really... good.” —Homer, _The Simpsons_ |
Ben Finney

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


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