結果 : ternary conditional statement in python