Home
/
Python 3.11
/
Operators
/
index
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Operators
index
Python 3.11
Return a converted to an integer. Equivalent to a.__index__().
Syntax
PYTHON
Copy
operator.index(a)
See Also
int