Vidyalelo
Python · Q4

Files Handling in Python

Programming · Python · question 4

Q4

What does the read() method of a file object do?

A.
It reads the entire contents of the file
Answer
B.
It writes data to the file
C.
It closes the file
D.
It deletes the file

Answer: Option A

Solution

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