On Sat, Aug 31, 2013 at 12:14 AM, Antoon Pardon <antoon.par...@rece.vub.ac.be> wrote: > Maybe python should just allow more than one control structure on one > line and then considers the end of the suite the end of both controls. > In that case we could just write the following: > > for a in lst: if a % 2: > treat a > process a some more > after loop things.
Exactly what I suggested a while ago :) This is how we got onto this subject - a discussion of how physical structure and logical structure can differ. ChrisA -- http://mail.python.org/mailman/listinfo/python-list