Nested lists and dictonaries
<p>I have to read contents of a file and print them with string formatting.Currently I am using a dict with the values of the keys being a list i.e list nested withing a dict.</p>

<pre><code>data={'Hour':[],'Total Incoming':[],'Pass':[],'Stale Client':[],'Error':[],'Exec time':[[],],'Update time':[[],]}
</code></pre>

<p>While printing I use a for loop</p>

<pre><code>for i in range (0,len(data['Hour']-1):
    print data['Hour'][i],data['Total Incoming'][i] and so on
</code></pre>

<p>I have a doubt if a dict nested within list is more optimized and better than the above</p>

<pre><code>data=[{'Hour1':['Total Incoming','Pass','Stale Client','Error','Exec time'[],'Update time'[]]},{'Hour2':['Total Incoming','Pass','Stale Client','Error','Exec time'[],'Update time'[]]...}
</code></pre>

<p>Can you help me in this regard</p>
