Q. Observe the following code and answer the questions that follow:


File = open ("Mydata","a")

_______#Blank1

File.close()


(i) What type (Text/Binary) of file is Mydata?

(ii) Fill the Blank1 with statement to write "ABC" in the file "Mydata"


Answer =

(i) Text File
(ii) File.write("ABC")

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post