結果 : python ternary operator if not none