結果 : use of nested if else in python