Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 12)
12.
What happens if you open a file using the mode "a"?
The file is opened for reading
The file is opened for writing, starting from the beginning
The file is opened for appending, starting from the end
The file is opened for both reading and writing
Answer: Option
Explanation:
The "a" mode opens the file for appending, and the file cursor is positioned at the end.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.