Skip to main content

Python Tuple Methods

In Python, tuples are immutables. Meaning, you cannot change items of a tuple once it is assigned. There are only two tuple methods count() and index() that a tuple object can call.

MethodDescription
count()Returns the count of the number of items passed as an argument
index()Returns the index of the first matched item