Jan-11-2022, 04:03 PM
(Jan-11-2022, 03:09 PM)deanhystad Wrote: print() is a function. When you call the print() function it returns the value None. writerow(print()) will write None in the CSV file. If you want to print() a string and write the same string to a file you need to create the string, assign it to a variable, print the variable and write the variable to the file.
Can you write the code please, I am new in python and learning.