結果 : explain nested if else in python