Computer Science, asked by hariharapandian6, 5 months ago

3. Which of the following mode is used when dealing with non- text files like image or exe files?
A Text mode
B
Binary mode
С
xls mode
D
csv mode
4. Csv reader and csv. writer work with :
A list
B
tuple
с C
a orb
71​

Answers

Answered by shashidubey1119
0

Answer:

>>> import csv >>> marks=[('Seema',22,45),('Anil',21,56),('Mike',20,60)] >>> csvfile=open(marks.csv','w', newline='') >>> obj=csv.writer(csvfile) >>> for row in marks: obj.writerow(row) >>> csvfile.close()

Similar questions