I am having trouble writing a list of items into a csv file, with each item being on a new row. Here is what I have, it does what I want, except it is putting each letter on a new row...
import csv
data = ['First Item', 'Second Item', 'Third Item']
with open('output.csv', 'w', newline='') as csvfile:
writer = csv.writer(csvfile)
for i in data:
writer.writerows(i)