To open a file c:\scores.txt for reading, we use
The syntax to open a file in python is as follows:
file_object= open(file_name, access_mode)
The file should be opened for
Therefore, the correct answer will be
infile = open(“c:\\scores.txt”, “r”)
So, the correct answer is (b).