結果 : if statement in one line python