Which of the following mode in the file opening statement results or generates an error if the file does not exist?
Advertisements
Question
Which of the following mode in the file opening statement results or generates an error if the file does not exist?
Options
a+
r+
w+
None of the above
MCQ
Advertisements
Solution
r+
shaalaa.com
Reading from a Text File in Python
Is there an error in this question or solution?
