Q. To open a file c:\scores.txt for reading, we use (Solved)
1. infile = open(“c:\\scores.txt”, “r”)
2. infile = open(“c:\\scores.txt”, “r”)
3. infile = open(file = “c:\\scores.txt”, “r”)
4. infile = open(file = “c:\\scores.txt”, “r”)
- b. infile = open(“c:\\scores.txt”, “r”)