A
Q. What is the output of the following program?
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 - Option(C)
- Views: 24
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.