Manipulating dictionaries within lists
<p>I have a list with dictionaries in it as below:</p>

<pre><code>wordsList = [
    {'Definition': 'Allows you to store data with ease' , 'Word': 'Database'},
    {'Definition': 'This can either be static or dynamic' , 'Word': 'IP'},
]
</code></pre>

<p>Essentially, what I want to do is:</p>

<ul>
<li>Be able to print each separate definition</li>
<li>Be able to print each separate word</li>
</ul>

<p>And so my question is: How do I do this? I only know how to do this with regular lists/dictionaries, not what I have here.</p>

<pre><code>for word_def in wordsList:
  print word_def.get("Word")
  print word_def.get("Definition")
  print
</code></pre>

<p>output</p>

<pre><code>Database
Allows you to store data with ease

IP
This can either be static or dynamic
</code></pre>

python list dictionary