Convert sets to frozensets as values of a dictionary,"d = {k: frozenset(v) for k, v in list(d.items())}"