結果 : python set value if key exists