Insert dictionary key:value into existing dictionary at a specific index in a list
<p>I need a little assistance with inserting a key:value pair from a dictionary (called umDict) into an already existing dictionary in a list at a specific spot in that list.</p>

<p>What I have already is a list (called rLu) that's filled with 943 empty dictionaries. I also have a list called lineList that has parsed a string and contains three elements. Finally, I have a key:value pair in the umDict temporary dictionary that needs to be inserted into the dictionary that's present in the rLu list at<br>
<code>rLu[int(lineList[0])-1]</code></p>

<p>The key value pair is composed such as:<br>
<code>umDict[lineList[1]] = lineList[2]</code></p>

<p>To get the results I'd like, I've tried:<br>
<code>umDict[lineList[1]] = lineList[2]</code><br>
<code>rLu[int(lineList[0])-1] = umDict</code>  </p>

<p>But it inserts a brand new dictionary instead of just the key:value into the existing dictionary. How do I get it to insert just the key:value pair into the existing dictionary?</p>

<p>What I'm expecting to get is something like this:<br>
<code>rLu = [{'1':'a','2':'b'}, {'3':'c', '4':'d'}, {'5':'e', '6':'f'}]</code><br>
Where the length of those dictionaries could be any, not just two like in my example.</p>
