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: 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 Subject: Re: loop Date: Mon, 24 Mar 2014 13:31:01 +1100 References: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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