Question: please explain how you got the answer! Outfile = open(test.txt, w) print(One, end=, ) print(Two, file=outfile) outfile.write(Three) outfile.close() What are the contents of the file

please explain how you got the answer!
Outfile = open("test.txt", "w") print("One", end=", ") print("Two", file=outfile) outfile.write("Three") outfile.close() What are the contents of the file "test.txt" created by the code shown above? A) One, Two Three B) One, Two, Three C) One, Two and Three D) Two Three E) None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
