結果 : ternary condition in python