Append text to an existing file - Py


Write a Python program to append text to an existing file.
Append this file.
Append the word "POPEYE" to the next line of this file.
The resources to help you are mentioned below.

Submit Answer

NOTE These questions can be solved in either Java , Python , Rust, C++, Go or ! However, the language intended for these questions is mentioned along with the question on the top. You need to submit the solution file for the autograder to grade the submission. If you are submitting in Java, make sure that the class name is Main (with a capital M)

Optional Python Editor for your use