結果 : how to leave if statement python