結果 : if else on one line python