Python Multiple Choice Questions
What is the use of "w" in file handling?
D. None of the the mentioned
Explanation: This opens the file for writing. It will create the file if it doesn't exist, and if it does, it will overwrite it.
© 2022-2023 Python Circle