137k views
3 votes
Choose the character you would use in the blank for the mode described. open ("fruit.txt","_____")

To write to a new file, use ______.
-r, a, w.
To read a file, use _______.
-a, w, r.
To add text to an existing file, use _______.
-a, r, w.

User Shikjohari
by
7.1k points

1 Answer

3 votes

Answer:

1. To write -> w

2. To read -> r

3. To add -> a

User Michael Sagalovich
by
8.6k points