結果 : if else in one row python