Page 1 of 1

To open a file c:\scores.txt for appending data, we use ____________

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) outfile = open(“c:\\scores.txt”, “a”)
b) outfile = open(“c:\\scores.txt”, “rw”)
c) outfile = open(file = “c:\scores.txt”, “w”)
d) outfile = open(file = “c:\\scores.txt”, “w”)