← Reference

Tuple Methods

Methods available on Python tuple objects.

tuple.count()

Returns the number of times a specified value appears in a tuple

tuple.count(x)

tuple.index()

Returns the index of the first occurrence of a specified value in a tuple

tuple.index(x[, start[, end]])