"Steven D'Aprano" <st...@pearwood.info> wrote
I don't think you want to break out of *any* of the loops. Otherwise
you will skip testing combinations.
In that case I misread the OP. I thought he specifically wanted
to avoid testing all the options and exit when he reached his target.
In your example, the first time you set highscore and alignment, you
break out of all three loops
Yep, thats what I thought was being asked for.
It seems I mistook the intent. reading too quickly I suspect.
Alan G
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor