1.

Suppose content of 'Myfile.txt' is Culture is the widening of the mind and of the spirit. What will be the output of the following code? myfile = open("Myfile.txt") x = myfile.read() y = x.count('the') print(y) myfile.close() a. 2 b. 3 c. 4 d. 5

Answer»

Answer is b. 3



Discussion

No Comment Found

Related InterviewSolutions