title: get key and value from a list with dict
body: <p>I have a list of dict: </p>
  
  <pre><code>dividends=[
      {"2005":0.18},
      {"2006":0.21},
      {"2007":0.26},
      {"2008":0.31},
      {"2009":0.34},
      {"2010":0.38},
      {"2011":0.38},
      {"2012":0.38},
      {"2013":0.38},
      {"2014":0.415},
      {"2015":0.427}
      ]
  </code></pre>
  
  <p>I want to retrieve the key and value to two lists, like:</p>
  
  <p>yearslist = [2005,2006, 2007,2008,2009,2010...]
  dividendlist = [0.18,0.21, 0.26....]</p>
  
  <p>any way to implement this?</p>
  
  <p>thanks.</p>