title: how to access the list inside a nested dictionary
body: <p>I am using a dictionary which is</p>
  <pre><code>a = {'subnets': [{'subnet': None}]}
  </code></pre>
  <p>I want to access the subnet value and set <code>subnet=&quot;something&quot;</code>
  How can I do it?</p>