Question:

Assertion (A): CSV file is a human-readable text file where each line has a number of fields, separated by a comma or some other delimiter. 
Reason (R): writerow() method is used to write a single row in a CSV file. 
Mark the correct choice: 
 

Show Hint

Always analyze the relationship between the assertion and reason carefully. Even if both statements are true, the reason must directly explain the assertion to qualify as a correct explanation.
Updated On: Jan 21, 2025
  • 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.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

the writerow() method is not the reasoning behind the assertion that CSV files are human-readable text files with fields separated by commas. The assertion describes the structure and purpose of CSV files, while the reason describes a function related to working with CSV files. Thus, while both statements are true, the reason does not explain the assertion.
Was this answer helpful?
0
0