Home >>Python Tuple Methods

Python Tuple Methods

Python Tuple Methods

Python Tuple Methods. In Python, tuples are immutables. Which means, you can't change things of a tuple once it is alloted. There are just two tuple methods count() and index().

Method Description
count() It is used to return the number of times a specified value occurs in a tuple.
index() It is used to search the tuple for a specified value and returns the position of where it was found.

Python Tuple Methods Index

Sr.No. Topics
1 Python Tuple count() Method
2 Python Tuple index() Method