1.

Suppose content of 'Myfile.txt' is Ek Bharat Shreshtha Bharat What will be the output of the following code? myfile = open("Myfile.txt") vlist = list("aeiouAEIOU") vc=0 x = myfile.read() for y in x: if(y in vlist): vc+=1 print(vc) myfile.close() a. 6 b. 7 c. 8 d. 9

Answer»

Answer is b. 7



Discussion

No Comment Found

Related InterviewSolutions