結果 : nested if condition python