PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
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
Show Answer
Next Question
Correct Answer:
A
Explanation: The method truncate() truncates the file size. Following is the syntax for truncate() method:
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap