Merge two dictionaries
<p>I have something like this: </p>

<pre><code>Dict1 = {'a': "blabla", 'b': "gugu"}
Dict2 = {'a': "tadaa", 'b': "duduu"}
</code></pre>

<p>what I want to have is:</p>

<pre><code>Dict3 = {'tadaa': "blabla", 'duduu': "gugu"}
</code></pre>

<p>Would something like this work?</p>

<pre><code>Dict3 = dict(zip(Dict2.values(), Dict1.values()))
</code></pre>

python python-2.7 python-3.x