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”)
To open a file c:\scores.txt for writing, we use ____________
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
To open a file c:\scores.txt for writing, we use ____________
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!