for what are for/while else clauses

JCM joshway_without_spam at myway.com
Fri Nov 14 21:40:03 CET 2003


John Roth <newsgroups at jhrothjr.com> wrote:

> "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.

I see that as an example of #1.




More information about the Python-list mailing list