結果 : exit from if loop in python