For each value in dict?
<p>I've got a dict with integer values, and I'd like to perform an operation on every value in the dict. I'd like to use a for loop for this, but I can't get it right. Something like:</p>

<pre><code>&gt;&gt;&gt;print(myDict)
{'ten': 10, 'fourteen': 14, 'six': 6}

&gt;&gt;&gt;for value in myDict:
...    value = value / 2

&gt;&gt;&gt;print(myDict)
{'ten': 5, 'fourteen': 7, 'six': 3}
</code></pre>
