結果 : nested if else one line python