Nested For and While Statements

koutoo at hotmail.com koutoo at hotmail.com
Mon Sep 24 15:28:07 EDT 2007


I start my code with some constants then a while statement.  But I
have some For statements towards the end within the While statement
where I start getting some errors.  I'm hoping I won't have to post my
code, but it looks something like this:

Import os, string

while this:

     All Code indented like it should


     Last line in While.

           For i in range(1)
                class = []
                class2 = []
                For i in range(2)
                     Do this
                     And this
                     And that.

                     Next Line hits snag here?  Where should this line
be?




More information about the Python-list mailing list