How can I convert a Python dictionary to a list of tuples?
<p>If I have a dictionary like:</p>

<pre><code>{ 'a': 1, 'b': 2, 'c': 3 }
</code></pre>

<p>How can I convert it to this?</p>

<pre><code>[ ('a', 1), ('b', 2), ('c', 3) ]
</code></pre>

<p>And how can I convert it to this?</p>

<pre><code>[ (1, 'a'), (2, 'b'), (3, 'c') ]
</code></pre>
