Vidyalelo
Python · Q16

Files Handling in Python

Programming · Python · question 16

Q16

What is the purpose of the write() method in file handling?

A.
It writes data to the file
Answer
B.
It reads the file contents
C.
It creates a new file
D.
It closes the file

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board