Q. What is the output of the following program?import stringimport stringLine1 = "And Then There Were None"Line2 = "Famous In Love"Line3 = "Famous Were The Kol And Klaus"Line4 = Line1 + Line2 + Line3print(string.find(Line1, 'Were'), string.count((Line4), 'And')) (Solved)

1. True 1

2. 15 2

3. (15, 2)

4. True 2

  • c. (15, 2)
Subscribe Now

Get All Updates & News