Conditional iteration

greg greg at cosc.canterbury.ac.nz
Wed Dec 13 22:35:07 EST 2006


at wrote:

> It is not the addional line containing 'if x > 0:' that bothers me, but the
> additional indentation.

I don't find the additional indentation bothersome.
In fact I think it's helpful, because it makes it
obvious that there is something else going on besides
just a loop.

--
Greg



More information about the Python-list mailing list