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


Groups > comp.lang.python > #40267

Re: Triple nested loop python (While loop insde of for loop inside of while loop)

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <winefrog@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'friday,': 0.09; 'loop.': 0.09; 'second.': 0.09; 'subject:while': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'columns': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'raw': 0.27; 'chris': 0.28; 'indentation': 0.29; 'fri,': 0.30; 'code': 0.31; 'agree': 0.34; 'received:google.com': 0.34; 'third': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'should': 0.36; 'thank': 0.36; 'subject: (': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'your': 0.60; 'subject': 0.66; '2013': 0.84; 'isaac': 0.84; 'won': 0.96
X-Received by 10.182.162.10 with SMTP id xw10mr13377obb.17.1362154734811; Fri, 01 Mar 2013 08:18:54 -0800 (PST)
Newsgroups comp.lang.python
Date Fri, 1 Mar 2013 08:18:54 -0800 (PST)
In-Reply-To <mailman.2720.1362145274.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=129.118.224.102; posting-account=DOyQBwoAAADIEpwWr89vk1x7RGFM33oc
References <118003ed-33f6-4d99-ac5e-99ec81921f45@googlegroups.com> <mailman.2720.1362145274.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 129.118.224.102
MIME-Version 1.0
Subject Re: Triple nested loop python (While loop insde of for loop inside of while loop)
From Isaac Won <winefrog@gmail.com>
To comp.lang.python@googlegroups.com
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 <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.2737.1362154743.2939.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362154743 news.xs4all.nl 6977 [2001:888:2000:d::a6]:41477
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40267

Show key headers only | View raw


On Friday, March 1, 2013 7:41:05 AM UTC-6, Chris Angelico wrote:
> On Fri, Mar 1, 2013 at 7:59 PM, Isaac Won <winefrog@gmail.com> wrote:
> 
> > while c <24:
> 
> >         for columns in ( raw.strip().split() for raw in f ):
> 
> >         while d <335:
> 
> 
> 
> Note your indentation levels: the code does not agree with your
> 
> subject line. The third loop is not actually inside your second.
> 
> Should it be?
> 
> 
> 
> ChrisA

Yes, the thiird lood should be inside of my whole loop.
Thank you,
Isaac

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


Thread

Triple nested loop python (While loop insde of for loop inside of while loop) Isaac Won <winefrog@gmail.com> - 2013-03-01 00:59 -0800
  Re: Triple nested loop python (While loop insde of for loop inside of while loop) Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-03-01 13:00 +0100
    Re: Triple nested loop python (While loop insde of for loop inside of while loop) Joel Goldstick <joel.goldstick@gmail.com> - 2013-03-01 08:00 -0500
    Re: Triple nested loop python (While loop insde of for loop inside of while loop) Isaac Won <winefrog@gmail.com> - 2013-03-01 08:28 -0800
      Re: Triple nested loop python (While loop insde of for loop inside of while loop) Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2013-03-04 11:08 +0100
  Re: Triple nested loop python (While loop insde of for loop inside of while loop) Chris Angelico <rosuav@gmail.com> - 2013-03-02 00:41 +1100
    Re: Triple nested loop python (While loop insde of for loop inside of while loop) Isaac Won <winefrog@gmail.com> - 2013-03-01 08:14 -0800
    Re: Triple nested loop python (While loop insde of for loop inside of while loop) Isaac Won <winefrog@gmail.com> - 2013-03-01 08:14 -0800
    Re: Triple nested loop python (While loop insde of for loop inside of while loop) Isaac Won <winefrog@gmail.com> - 2013-03-01 08:18 -0800
    Re: Triple nested loop python (While loop insde of for loop inside of while loop) Isaac Won <winefrog@gmail.com> - 2013-03-01 08:18 -0800

csiph-web