Q. Correct syntax of file.writelines() is? (Solved)
1. file.writelines(sequence)
2. fileobject.writelines()
3. fileobject.writelines(sequence)
4. none of the mentioned
- c. fileobject.writelines(sequence)
1. file.writelines(sequence)
2. fileobject.writelines()
3. fileobject.writelines(sequence)
4. none of the mentioned