MCQOPTIONS
Saved Bookmarks
| 1. |
To open a file c:\scores.txt for writing, we use |
| A. | outfile = open(“c:\\scores.txtâ€, “wâ€) |
| B. | outfile = open(“c:\\scores.txtâ€, “wâ€) |
| C. | outfile = open(file = “c:\\scores.txtâ€, “wâ€) |
| D. | outfile = open(file = “c:\\scores.txtâ€, “wâ€) |
| Answer» C. outfile = open(file = “c:\\scores.txtâ€, “wâ€) | |