結果 : syntax for nested if else in python