Page 1 of 1

To open a file c:\scores.txt for reading, we use _____________

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