結果 : how do you write a nested if statement in python