मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

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×