On Saturday, August 6, 2016 at 12:08:30 PM UTC+12, bream...@gmail.com wrote:
> A couple or three years old but this is well worth seeing for anybody,
> regardless of your Python expertise. http://nedbatchelder.com/text/iter.html

A loop like

    for i in ... :
       ...
       if ... cond ... :
           break
       ...
    #end for

actually has two different ways to terminate. Is there any good reason for them 
to be written two different ways?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to