CBSE Class 12 Computer Science Question 60 of 136

Data File Handling — Question 25

Back to all questions
25
Question

Question 25

Every record in a CSV file is stored in reader object in the form of a list using which method?

  1. writer()
  2. append()
  3. reader()
  4. list()
Answer

reader()

Reason — The reader() function is used to store every record in a CSV file in a reader object, where each record is represented as a list.