

MCQOPTIONS
Saved Bookmarks
1. |
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')) |
A. | True 1 |
B. | 15 2 |
C. | (15, 2) |
D. | True 2 |
Answer» D. True 2 | |