結果 : how to break an if statement in python