title: converting dictionary values to list in Python
body: <p>Suppose I have a dictionary (dict) with keys and values as below: </p>
  
  <blockquote>
    <p>print(dict) </p>
  </blockquote>
  
  <pre><code>{'AAA': {'', '111', '222'}, 'BBB': {'222', '999', '555'}}
  </code></pre>
  
  <p>I want to extract the values from the dictionary in the form of a single string, i.e. <code>type(values) = str</code>, such as:</p>
  
  <pre><code>values = '111', '222', '999', 555'
  </code></pre>
  
  <p>but what I am getting is below under <code>dict.values()</code>:</p>
  
  <blockquote>
    <p>dict.keys() </p>
  </blockquote>
  
  <pre><code>dict_keys(['AAA', 'BBB'])
  </code></pre>
  
  <blockquote>
    <p>dict.values() </p>
  </blockquote>
  
  <pre><code>dict_values([{'', '111', '222'}, {'222', '999', '555'}])
  </code></pre>
  
  <p>How can I achieve the required result?</p>