結果 : ternary operator 3 conditions python