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.
- Log in to post comments