結果 : why do we use a nested if statement in python