

InterviewSolution
Saved Bookmarks
1. |
Correct syntax of file.writelines() is?(a) file.writelines(sequence)(b) fileObject.writelines()(c) fileObject.writelines(sequence)(d) none of the mentionedI have been asked this question in a national level competition.I need to ask this question from Files in chapter Regular Expressions and Files of Python |
Answer» Right ANSWER is (c) fileObject.WRITELINES(sequence) |
|