1.

Observe the following code and answer the questions that follow:File = open("Mydata","a")_____________________ #Blank1File.close()i. What type (Text/Binary) of file is Mydata?ii. Fill the Blank 1 with statement to write “ABC” in the file “Mydata”

Answer»

i. Text File

ii. File.write("ABC")



Discussion

No Comment Found

Related InterviewSolutions