हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

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” cont - Computer Science

Advertisements
Advertisements

प्रश्न

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

विकल्प

  • chennai,mylapore

  • mumbai,andheri

  • chennai
    mumba

  • chennai,mylapore
    mumbai,andheri

MCQ

उत्तर

mumbai,andheri

shaalaa.com
Writing Data into Different Types in CSV Files
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 13: Python and CSV files - Evaluation [पृष्ठ २६५]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 13 Python and CSV files
Evaluation | Q 7. | पृष्ठ २६५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×