Given the following code (that doesn't work):
#snip: print out current state
ok = get_input("Is this ok? (y/n)")
if ok == "y" or ok == "Y": break 2 #this doesn't work :(
if ok == "n" or ok == "N": break
#do more processing with menus and stuff
My first instinct would be to refactor the nested loop into a function and use
return to break out.