Miscellany
public text v1 · immutableclass ExitLoops(Exception): pass
try:
for i in range(100):
for j in range(100):
for k in range(100):
if i+j+k == 123:
raise ExitLoops(i+j+k)
except ExitLoops, value:
print value