def overwriteDictionary(fromDictionary, keys, toDictionary):
 for key in keys:
  if (key in fromDictionary):
   toDictionary[key] = fromDictionary[key]

def overwriteDictionary ( fromDictionary , keys , toDictionary ) : for key in keys : if ( key in fromDictionary ) : toDictionary [ key ] = fromDictionary [ key ]
overwrite the dictionary .