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?
"r"
"w"
"a"
"r+"
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:

Your comments will be displayed after verification.