Opening a file in append mode in Python:
a. Overrides the existing data in the file
b. Adds the new data to the end of the existing file
c. Adds the new data at the beginning of the existing file
d. Cannot write data to a file in append mode
Answers
Answered by
5
I think the ans should be option (c)
Hope it will help u....plz mark as brainliest....
Hope it will help u....plz mark as brainliest....
ankitkumarpal20:
hello
Answered by
1
The correct answer to this question is Option b- Adds the new data to the end of the existing file.
When a file is opened in append mode in Python, the file pointer is at the end of the file if the file exists.it means a new data can be added at the end of the existing one.
Similar questions