Vidyalelo
Python · Q70

Files Handling in Python

Programming · Python · question 70

Q70

What is the use of truncate() method in file?

A.
truncates the file size
Answer
B.
deletes the content of the file
C.
deletes the file size
D.
none of the mentioned

Answer: Option A

Solution

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