結果 : explain a program example for nested if in python