Multiplying and adding values from csv file in python
<p>I have a csv file with following data, I want to know how to multiply values in Qty column with Avg cost column and then sum the values together.</p>

<pre><code>| Instrument | Qty  | Avg cost  |
|------------|------|-----------|
| APLAPOLLO  | 1    | 878.2     |
| AVANTIFEED | 2    | 488.95    |
| BALAMINES  | 3    | 308.95    |
| BANCOINDIA | 5    | 195.2     |
| DCMSHRIRAM | 4    | 212.95    |
| GHCL       | 4    | 241.75    |
| GIPCL      | 9    | 102       |
| JAMNAAUTO  | 5    | 178.8     |
| JBCHEPHARM | 3    | 348.65    |
| KEI        | 8    | 121       |
| KPRMILL    | 2    | 592.65    |
| KRBL       | 3    | 274.45    |
| MPHASIS    | 2    | 519.75    |
| SHEMAROO   | 2    | 400       |
| VOLTAMP    | 1    | 924       |
</code></pre>