Q. What is the output of the following program?
Code:
import string import string Line1 = "And Then There Were None" Line2 = "Famous In Love" Line3 = "Famous Were The Kol And Klaus" Line4 = Line1 + Line2 + Line3 print(string.find(Line1, 'Were'), string.count((Line4), 'And'))
β
Correct Answer: (C)
(15, 2)