def dissoc(d, *keys):
 d2 = copy.copy(d)
 for key in keys:
  if (key in d2):
   del d2[key]
 return d2

def dissoc ( d , * keys ) : d2 = copy . copy ( d ) for key in keys : if ( key in d2 ) : del d2 [ key ] return d2
return a new dict with the given key(s) removed .