結果 : handle key error in dictionary python