I'm currently have 3 different csv file with some data. I would like to insert the data into 3 different array. This is the coding i'm currently working on
arrayList = []
for index, url in enumerate(urls):
with open('filename{}.csv'.format(index),'r') as f:
for line in f:
while line != '':
arrayList[index].append(line)
i know that the code will definitely not work. Is there a way that i can do it?