結果 : how to exit a if statement python