On Thu, 13 Nov 2008 02:16:32 -0800, Chris Rebert wrote:
On Thu, Nov 13, 2008 at 2:07 AM, TP [EMAIL PROTECTED]
wrote:
In the following example, is this possible to affect the two iterators
to escape the two loops once one j has been printed:
Non-exception alternative:
done = False
for i
On Thu, 13 Nov 2008 11:07:25 +0100, TP wrote:
According to this page, the best way is to modify the loop by affecting
the variables that are tested in the loops. Otherwise, use exception:
If, for some reason, the terminating conditions can't be worked out,
exceptions are a fall-back plan.
TP wrote:
Hi everybody,
Several means to escape a nested loop are given here:
http://stackoverflow.com/questions/189645/how-to-break-out-of-multiple-loops-in-python
According to this page, the best way is to modify the loop by affecting
the variables that are tested in the loops.
On Thu, Nov 13, 2008 at 2:07 AM, TP [EMAIL PROTECTED] wrote:
Hi everybody,
Several means to escape a nested loop are given here:
http://stackoverflow.com/questions/189645/how-to-break-out-of-multiple-loops-in-python
According to this page, the best way is to modify the loop by affecting the
Hi everybody,
Several means to escape a nested loop are given here:
http://stackoverflow.com/questions/189645/how-to-break-out-of-multiple-loops-in-python
According to this page, the best way is to modify the loop by affecting the
variables that are tested in the loops. Otherwise, use
Chris Rebert wrote:
On Thu, Nov 13, 2008 at 2:07 AM, TP [EMAIL PROTECTED] wrote:
Hi everybody,
Several means to escape a nested loop are given here:
http://stackoverflow.com/questions/189645/how-to-break-out-of-multiple-loops-in-python
According to this page, the best way is to modify the