結果 : python nested if in one line