Closed cclauss closed 4 years ago
https://docs.python.org/3/reference/datamodel.html#object.__contains__ https://docs.python.org/3/library/functions.html#enumerate
range(len(x))
enumerate()
https://docs.python.org/3/reference/datamodel.html#object.__contains__ https://docs.python.org/3/library/functions.html#enumerate
range(len(x))
, see ifenumerate()
is a better choice.