221k views
7 votes
This line of code is in your program.

outFile = open("another.txt", "a")
How will outFile interact with the file it opens?

User Rjak
by
3.6k points

2 Answers

2 votes

Answer:

write to the file, adding to the current contents of the file

Step-by-step explanation:

The "a" stand for append. To append means to add onto the file.

I hope this helped!

Good luck <3

User Jhlllnd
by
3.0k points
4 votes

Answer:

it opens the file for appending

User Tom Weiss
by
3.8k points