結果 : how to break from if statement in python