I can't figure out how to write my output of my program to a CSV file in columns.
Currently, I'm doing
print(var1, file=outputfile)
but it only writes to a file, not specify which column its in. I'm planning on using csv module, but I'm not too sure how to make each variable write itself to a single column in my excel file. EG:
Var1 to column A in excel.
Var2 to column B in excel ...
Appreciate any directions and advice.