PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Which of the following statements are true?
A. When you open a file for reading, if the file does not exist, an error occurs
B. When you open a file for writing, if the file does not exist, a new file is created
C. When you open a file for writing, if the file exists, the existing file is overwritten with the new file
D. All of the mentioned
Show Answer
Next Question
Correct Answer:
D
Explanation: The program will throw an error.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap