मराठी

Assertion (A): CSV file is a human readable text file where each line has a number of fields, separated by comma or some other delimiter. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Assertion (A): CSV file is a human readable text file where each line has a number of fields, separated by comma or some other delimiter.

Reason (R): writerow() method is used to write a single row in a CSV file. 

पर्याय

  • Both (A) and (R) are true and (R) is the correct explanation for (A).

  • Both (A) and (R) are true and (R) is not the correct explanation for (A).

  • (A) is true but (R) is false.

  • (A) is false but (R) is true.

MCQ
विधान आणि तर्क

उत्तर

Both (A) and (R) are true and (R) is not the correct explanation for (A).

Explanation:

Comma-separated values files are text files that store data in a record-like format separated by commas or other boundaries. The writerow() function generates a single row of data in a CSV file. Although both statements are true, the reasoning behind the assertion statement is invalid. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×