McqMate
| Q. |
What is the use of truncate() method in file? |
| A. | truncates the file size |
| B. | deletes the content of the file |
| C. | deletes the file size |
| D. | none of the mentioned |
| Answer» A. truncates the file size | |
| Explanation: the method truncate() truncates the file size. following is the syntax for truncate() method: | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet