title: How to use Python sets and add strings to it in as a dictionary value
body: <p>I am trying to create a dictionary that has values as a Set object. I would like a collection of unique names associated with a unique reference).  My aim is to try and create something like: </p>
  
  <p><strong>AIM:</strong>  </p>
  
  <pre><code>Dictionary[key_1] = set('name')    
  Dictionary[key_2] = set('name_2', 'name_3')
  </code></pre>
  
  <p><strong>Adding to SET:</strong>  </p>
  
  <pre><code>Dictionary[key_2].add('name_3')
  </code></pre>
  
  <p>However, using the set object breaks the <code>name</code> string into characters which is expected as shown <a href="https://docs.python.org/2/tutorial/datastructures.html">here</a>.  I have tried to make the string a tuple i.e. <code>set(('name'))</code> and <code>Dictionary[key].add(('name2'))</code>, but this does not work as required because the string gets split into characters.</p>
  
  <p>Is the only way to add a string to a set via a list to stop it being broken into characters like</p>
  
  <pre><code>'n', 'a', 'm', 'e'
  </code></pre>
  
  <p>Any other ideas would be gratefully received.</p>