do...until wisdom found...

Grant Edwards grante at visi.com
Wed Apr 18 12:38:22 EDT 2001


In article <NcjD6.8003$4N4.1751729 at newsc.telia.net>, Fredrik Lundh wrote:
>Dave LeBlanc wrote:
>> >But it does have one entry point and one exit point! Count 'em:
>> >
>> >while 1:                        <--- one entry point
>> >    set up for this cycle
>> >    if c: break                 <--- one exit point
>> >    whatever needs to be done
>>       <----- another exit point
>
>under what circumstances will that loop exit at the end?

When 1 is false?

-- 
Grant Edwards                   grante             Yow!  If Robert Di Niro
                                  at               assassinates Walter Slezak,
                               visi.com            will Jodie Foster marry
                                                   Bonzo??



More information about the Python-list mailing list