結果 : python dict prevent keyerror