title: python dicts - convert the values on an existing dict from lists to sets
body: <p>I have a dictionary that consists of strings for keys and lists for values.  I keep running into errors when trying to convert the values into sets.</p>
  <p>Here is an example:</p>
  <pre><code>&gt;&gt;&gt; dict = {'hello': [0, 1, 2, 3], 'w': [0], 'c': [2, 3], 'dog': [4]}
  </code></pre>
  <p>The closest I've gotten is this, but then I run into 'too many values to unpack' errors when trying to merge that back into the dict via a comprehension:</p>
  <pre><code>&gt;&gt;&gt; [set(v) for v in dict.values()]
  [{0, 1, 2, 3}, {0}, {2, 3}, {4}]
  </code></pre>
  <p>I've tried to convert from tuples too, but still keep running into either 'unhashable type' or 'too many values to unpack' errors depending on the approach.  Any tips?</p>