Iterate through a dictionary and return results in a table
<p>I`m looking at printing the content of a dictionary into a table, the dictionary is defined like this :</p>

<pre><code>d = {"date": tuple(date),"open":tuple(open),"close":tuple(close),"min":tuple(min),"max":tuple(max),"gain":tuple(gain),"loss":tuple(loss),"avg_gain":tuple(avg_gain),"avg_loss":tuple(avg_loss)}
</code></pre>

<p>I would like to iterate through it to print row by row in the shell, the first row would contain the key, and the following rows, the content of tuple(date), tuple(open), etc ...</p>
