ID EN
Operators

index

Python 3.11

Return a converted to an integer. Equivalent to a.__index__().

Syntax

PYTHON
operator.index(a)

See Also

int