Python Programming - Reading and Writing Files - Discussion
Discussion Forum : Reading and Writing Files - General Questions (Q.No. 7)
7.
Which of the following modes is used to open a file in Python for both reading and writing?
Answer: Option
Explanation:
The mode
"r+"
allows both reading and writing operations on a file.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers