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

Chris Angelico rosuav at gmail.com
Fri Mar 1 08:41:05 EST 2013


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