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

Isaac Won winefrog at gmail.com
Fri Mar 1 11:14:03 EST 2013


Thank you, Chris.
I just want to acculate value from y repeatedly.
If y = 1,2,3...10, just have a [1,2,3...10] at onece.
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 at 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




More information about the Python-list mailing list