Python Tuple Methods
Tuple operations — count, index, and sequence utilities. This category documents 2 Python tuple methods entries, and each page gives you the full syntax, the parameter list, the return value, and a runnable example. The entries include: tuple.count(), tuple.index(). tuple.count() returns the number of occurrences of x in the tuple. tuple.index() returns the index of the first occurrence of x. Raises ValueError if not found. For a structured walkthrough of the whole topic, read the Tuple Methods guide. Tuple Methods belongs to the Built-in Types group alongside String Methods, List Methods, Dictionary Methods, Set Methods. You can also search across every category from the search page, browse the complete A–Z index, or try any example in the Python playground. Python Reference documents 978+ functions, methods, and modules across 114 categories of the standard library, and every entry in this Tuple Methods category follows the same format — syntax first, then what it does, the parameters it accepts, what it returns, and a working code example — so once you have read one page you can read them all.