結果 : nested if statement syntax python