compare one column to another in csv file in Python
<p>Hi i want to compare column a of a csv file  with column b of the same csv file as follows:</p>

<pre><code>column a:
8,67,55,32,44,70,9,10,79,21

column b:
22, 45, 6, 22, 3, 22, 6, 7,22,5
</code></pre>

<p>i want the user to enter a number lets say: '8' usin rawinput command. Then search number corresponding to 8 in other coulmn(b). This should give 22. once 22 is obtained i want all other numbers of column(a) that correspond to the numbr 22 in column b to be listed/displayed. pls help me over how to go about this?</p>
