Loop through rows in CSV file and check if user input is equal to value from row
I have a CSV file with the 50 U.S. states and their corresponding ‘x’ and ‘y’ coordinates which I will place on the screen. This is a small sample of what the CSV data looks like: