How to extract data from a list in PYTHON
<p>Suppose I have data as follows:</p>

<pre><code>A = [{'X1': val1, 'X2': 'val2', 'X3': 'val3', 'X4': val4}]
</code></pre>

<p>How do I extract val1, val2, val3, val4</p>

<p>Quickest way of doing so please</p>
