結果 : nested if else syntax python