結果 : how to exit an if statement python