Computer Science, asked by shrutioza11, 1 year ago

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 Brisht888
5
I think the ans should be option (c)

Hope it will help u....plz mark as brainliest....

ankitkumarpal20: hello
ankitkumarpal20: hmmm
ankitkumarpal20: hello bhai
cricketerdhoni: hi
cricketerdhoni: kaise ho bhai
ankitkumarpal20: thik hu bhai tum batao
ankitkumarpal20: hmm
cricketerdhoni: thik hai
Answered by Sidyandex
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