adding arithmetic values to dictionary?
<p>I have a dictionary, as shown below. </p>

<pre><code>band1= {'channel1': 10564, 'channel2': 10589, 'channel3': 10612, 'channel4': 10637,'channel5': 10662, 'channel6': 10687,
'channel7': 10712, 'channel8': 10737, 'channel9': 10762, 'channel10': 10787,'channel11': 10812, 'channel12': 10837, }
</code></pre>

<p>I'd like a nice way of editing this dictionary. To each entry I want another value added with is the value/5 and a third value entered with is value/5-190 </p>

<p>The dictionary would then look like(with the expressions actually converted to their final values):</p>

<pre><code>band1= {'channel1': [10564, 10564/5, 10564/5-190], 'channel2': [10589,10589/5,10589/5-190], 'channel3': [10612,10612/5,10612/5-190], 'channel4': [10637,10637/5,10637/5-190],
'channel5': [10662,10662/5,10662/5-190], 'channel6': [10687,10687/5,10687/5-190],
'channel7': [10712, 10712/5, 10712/5-190], 'channel8': [10737,10737/5,10737/5-190], 'channel9': [10762,10762/5,10762/5-190], 'channel10': [10787,10787/5,10787/5-190],'channel11': [10812,10812/5,10812/5-190], 'channel12': [10837,10837/5,10837/5-190]}
</code></pre>

<p>I have to do this with a lot of entries so it would be better than just typing them all up if I could add them in a pythonic way. Also 5 or 190 is variable for other dictionaries so it would be nice to be able to vary this easily, another reason not to hard code. For instance another dictionary might have the rule that I need to divide by 4 and add 200 for second element, then for the third element I might have to add another variable number.</p>

<pre><code>band2= {'channel1': [10564, 10564/4+200, 10564/4+200+100]
</code></pre>
