Question: Assuming that a file variable named myfile is created with the read mode, what will be the content of the file after the following code

Assuming that a file variable named myfile is created with the read mode, what will be the content of the file after the following code executes? myfile.write("line1" + " ") myfile.write("line2" + " ") Yantnz: O linelline2 line 1 O line 2 O Error / 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
