iterating over values inside a a key of a dict inside a dict
<p>I have the following code:</p>

<pre><code>dict_1= {

   'key1':{'key1':[.56,.75], 'key2':[]},
   'key2':{'key1':[.76,.95], 'key2':[]},
   'key3':{'key1':[.96,1.05],'key_2':[]}
  }
  def zones_calc(ftp):
      var_1 = ftp
      for i in dict_1.iteritems():
          for v in i['key_1']:
        i[key_2.append(var_1 * v)]
zones_calc(200)
</code></pre>

<p>I keep getting an error:</p>

<pre><code>TypeError: tuple indices must be integers, not str
</code></pre>

<p>I am new to coding in python and I am using this as an opportunity to work with dictionaries. I have gotten this to work fine using lists and tuples, and it works fine. I am trying to utilize a dict in order to keep my multiples and results all in a dict.</p>

<p>What I am trying to do obviously is to multiply what is in 'key_1' and append it into 'key_2' in each of the dict keys.</p>

<p>Any help would be great.</p>