11What does f.seek(0) do?ACloses the fileBReads one byteCDeletes the fileDMoves the file position to the beginningView AnswerDiscussWorkspaceReportSaveEasy
12What is the output of the following code?import io f = io.StringIO('a\nb\nc\n') print(len(f.readlines()))A6B1C3DErrorView AnswerDiscussWorkspaceReportSaveEasy
13Which module is used to read and write CSV files?AcsvBjsonCxlsxDpickleView AnswerDiscussWorkspaceReportSaveEasy
15What is the output of the following code?import io f = io.StringIO('hello\nworld\n') print(f.readline().strip(), f.readline().strip())AErrorBhello worldChello helloDworld helloView AnswerDiscussWorkspaceReportSaveEasy