Which of the following statement is used to open the file C:\Sample.txt in append mode?

QuestionsCategory: Python 3Which of the following statement is used to open the file C:\Sample.txt in append mode?
admin Staff asked 4 years ago

Answer: open(‘C:/Sample.txt’, ‘a’)