93.0k views
3 votes
Please Help with Computer Science!

Please Help with Computer Science!-example-1

1 Answer

3 votes

Answer:

To write to a new file, use ‘w'

To read a file, use ‘r'

To add text to an existing file, use ‘a'

Step-by-step explanation:

User Parnell
by
8.3k points