title: How to add multiple dictionaries to a set Python
body: <p>I have the following dictionaries:</p>
  <pre><code>x = {&quot;Name&quot;: &quot;A&quot;}
  y = {&quot;Name&quot;: &quot;B&quot;}
  z = {&quot;Name&quot;: &quot;C&quot;}
  
  all_dictionaries = {}
  all_dictionaries.update(x)
  all_dictionaries.update(y)
  all_dictionaries.update(z)
  print(all_dictionaries)
  </code></pre>
  <p>The output is</p>
  <pre><code>{'Name': 'C'}.
  </code></pre>
  <p>But I would like it to print the following (one big set containing all declared dictionaries):</p>
  <pre><code>{{&quot;Name&quot;: &quot;A&quot;}, {&quot;Name&quot;: &quot;B&quot;}, {&quot;Name&quot;: &quot;C&quot;}}
  </code></pre>
  <p>The <code>update()</code> doesn't work.
  Any help is appreciated!</p>