To open a le c:scores.txt for writing, we use
A. outle = open(“c:scores.txt”, “r”)
B. outle = open(“c:scores.txt”, “w”)
C. outle = open(le = “c:scores.txt”, “r”)
D. outle = open(le = “c:scores.txt”, “o”)
Answer:B
To open a le c:scores.txt for writing, we use
A. outle = open(“c:scores.txt”, “r”) B. outle = open(“c:scores.txt”, “w”) C. outle = open(le = “c:scores.txt”, “r”) D. outle = open(le = “c:scores.txt”, “o”)