I am trying to write my_list to a csv file like below:
import csv
myfile = open('my_list.csv', 'w')
wr = csv.writer(myfile)
print(len(my_list))
wr.writerow(my_list)
my_list has length 1000. Then the output of the above code is:
1000
10001
The output my_list.csv looks fine. But I am wondering why it print out 10001 on the screen? What does it mean?