結果 : nested if statement python w3schools