What sorts of methods exist for prematurely exiting an if clause?
if
There are times when I\'m writing code and want to put a break statement
break
may be this?
if some_condition and condition_a: # do something elif some_condition and condition_b: # do something # and then exit the outer if block elif some_condition and not condition_b: # more code here else: #blah if