Examveda

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

A. count()

B. find()

C. search()

D. locate()

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python