What is the correct way to open the file "test.txt" and append the text "foo" to it?
Correct Answer: with open("test.txt", "a") as myfile: myfile.write("foo")
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions