Explanation: a is used to indicate that data is to be appended.
Q. To open a file c:\scores.txt for appending data, we use
β
Correct Answer: (A)
outfile = open(“c:\\scores.txt”, “a”)
Explanation by: Mr. Dubey
a is used to indicate that data is to be appended.
Discussion
Question Analytics
739
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
99%
Success Rate