Answer:
To write to a new file, use ‘w'
To read to a fine, use ‘r'
To add text to an existing file , use ‘a'
Step-by-step explanation:
I would recommend viewing the python documentation to understand more on why were using these specific characters :)