Question:medium

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 13, 2026
  • 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.
Show Solution

The Correct Option is B

Solution and Explanation

The writerow() method does not justify the claim that CSV files are human-readable text files with comma-separated fields. The claim defines the structure and purpose of CSV files, whereas the method is a function for working with them. Consequently, although both statements are accurate, the method does not explain the claim.
Was this answer helpful?
0