Learn Python practically
and Get Certified.
Reference Materials
Certification Courses
Created with over a decade of experience and thousands of feedback.
Learn Python practically
and Get Certified.
Try Programiz PRO!
Learn Python practically
and Get Certified.
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.
Python Tuple count()
returns count of the element in the tuple
Python Tuple index()
returns the index of the element in the tuple