結果 : python handle keyerror in dict