for what are for/while else clauses

John Roth newsgroups at jhrothjr.com
Fri Nov 14 15:33:27 EST 2003


"JCM" <joshway_without_spam at myway.com> wrote in message
news:bp3bmg$l3$1 at fred.mathworks.com...
> John Roth <newsgroups at jhrothjr.com> wrote:
> ...
> > Yep. It's one of the three termination conditions for a loop.
>
> What are the three conditions?  I know of two:
>
>   1 Reaching the end of the iteration
>   2 Breaking out
     3. Not executing at all.

John Roth
>






More information about the Python-list mailing list