Vidyalelo
Python · Q14

MCQs for Python Strings: Exam

Programming · Python · question 14

Q14

Which method is used to count the occurrences of a substring in a string?

A.
count()
Answer
B.
find()
C.
search()
D.
locate()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board