50%
OFF
Master coding skills in 2023 with 50% off on PRO Annual
Hurry up! Sale ends Tomorrow | Claim Your Discount
Learn Python practically
and Get Certified.
Reference Materials
Learn Python Interactively
Try for FreeLearn Python practically
and Get Certified.
ENROLL FOR FREE!
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