Home
/
Python 3.11
/
Operators
/
contains
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Operators
contains
Python 3.11
Return the outcome of the test b in a. Note the reversed operands.
Syntax
PYTHON
Copy
operator.contains(a, b)