結果 : nested if in python exercises