Q. What does the 'a' mode do when opening a file?
β
Correct Answer: (D)
Appends to the file
Explanation: The 'a' mode adds data to the end of the file without removing existing content.