1.

Assume the content of text file, 'student.txt' is:Arjun Kumar Ismail Khan Joseph B Hanika Kiran What will be the data type of data_rec? myfile = open("Myfile.txt") data_rec = myfile.readlines() myfile.close() a. string b. list c. tuple d. dictionary

Answer»

Answer is b. list



Discussion

No Comment Found

Related InterviewSolutions