Q. Identify the error in the following


import csv

f = open('attendees1.csv')

csv_f = csv.writer(f)


Answer =

Error in line 2, that is program open the file in read mode but in line 3 there is use of writer() function which is wrong.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post