Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads
MCQ
What is the output of the following program? import csv
d=csv.reader(open('c:\PYPRG\ch13\city.csv'))
next(d)
for row in d:
print(row)
if the file called “city.csv” contain the following details
chennai,mylapore |
mumbai,andheri |
Options
chennai,mylapore
mumbai,andheri
chennai
mumbachennai,mylapore
mumbai,andheri
Advertisement Remove all ads
Solution
mumbai,andheri
Concept: Writing Data into Different Types in CSV Files
Is there an error in this question or solution?