結果 : one row if else python