MCQOPTIONS
Saved Bookmarks
| 1. |
To open a file c:\scores.txt for reading, we use |
| 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â€) |
| Answer» C. infile = open(file = “c:\\scores.txtâ€, “râ€) | |