Home
/
Python 3.11
/
Operators
/
countOf
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Operators
countOf
Python 3.11
Return the number of occurrences of b in a.
Syntax
PYTHON
Copy
operator.countOf(a, b)