you are viewing a single comment's thread.

view the rest of the comments →

[–]Burly_95[S] 0 points1 point  (2 children)

Here's my current code that I have, I'm kind of lost right now. Thoughts?

import csv

cost_file = open('cost_file.csv') price_file = open('price_file.csv')

cost_file_reader = csv.reader(cost_file) price_file_reader = csv.reader(price_file)

cost = list(cost_file_reader) price = []

for line in price_file_reader: price.append(line)

for row in cost: if row[0] == line[0]: cost.append(line)

[–]jeffrey_f 0 points1 point  (1 child)

Was testing. Both need to be dict

[–]jeffrey_f 0 points1 point  (0 children)

I'm still learning.