Make a Tuple from two dictionaries
<p>Suppose I have the dictionaries:</p>

<pre><code>a={1:2,2:3}
</code></pre>

<p>and:</p>

<pre><code>b={3:4,4:5}
</code></pre>

<p>I want to make a tuple such that:</p>

<pre><code>t=({1:2,2:3},{3:4,4:5})
</code></pre>

<p>Just put them in a <code>tuple</code> literal:</p>

<pre><code>t = (a, b) # or t = a, b
</code></pre>

<p>Now, <code>print(t)</code> returns <code>({1: 2, 2: 3}, {3: 4, 4: 5})</code>.</p>

python dictionary tuples