結果 : nested if practice questions in python