Alan Gauld wrote:-
> "Wayne Werner" <[email protected]> wrote 
> found = False
> > highscore = 0
> > alignment = somealignment
> > for x in something and not found:
> >     for y in somethingelse and not found:
> >           for z in evenmoresomething:
> >               if x+y+z > highscore:
> >                   highscore = x+y+z
> >                   alignment = newalignment
>                     found = True
>                     break
>
> HTH,

That's going to exit first time through, isn't it?

-- 
Michael


This mail was sent via Mail-SeCure System.



 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************



_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to