結果 : write syntax of nested if condition in python