Hi i want to compare column a of a csv file with column b of the same csv file as follows:
column a:
8,67,55,32,44,70,9,10,79,21
column b:
22, 45, 6, 22, 3, 22, 6, 7,22,5
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?
csvmodule in the standard library, write some code. Then come back with that code, if it doesn't work, or a specific thing you can't figure out, and we'll help you.