Skip to main content

Python: Tuple Method

In python, tuples are immutables. Therefore they have only two in-built method which a tuple object can call.

  • count(): It is used to return the number of times the specified value occur.
  • index(): It is used to return the index of element in tuple.
Submitted by devanshi.srivastava on June 12, 2021

Devanshi, is working as a Data Scientist with iVagus. She has expertise in Python, NumPy, Pandas and other data science technologies.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.