def dict_with(base_dict, **kwargs):
 full_dict = dict(base_dict)
 full_dict.update(**kwargs)
 return full_dict

def dict_with ( base_dict , ** kwargs ) : full_dict = dict ( base_dict ) full_dict . update ( ** kwargs ) return full_dict
return a copy of the dictionary with the added elements .