How to print defaultdict variable without its type?
<p>In the following code:</p>

<pre><code>from collections import defaultdict

confusion_proba_dict = defaultdict(float)

for i in xrange(10):
    confusion_proba_dict[i] = i + 10

print confusion_proba_dict
</code></pre>

<p>Output is:</p>

<pre><code>defaultdict(&lt;type 'float'&gt;, {0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17, 8: 18, 9: 19})
</code></pre>

<p>But, I need output to be:</p>

<pre><code>{0: 10, 1: 11, 2: 12, 3: 13, 4: 14, 5: 15, 6: 16, 7: 17, 8: 18, 9: 19}
</code></pre>

<p>How can I do it?</p>