結果 : nested if else in lambda python