結果 : how to get out of if statement python