pyguides

Reference

Tuple Methods

Methods available on Python tuple objects.

  1. tuple.count()

    Returns the number of times a specified value appears in a tuple

  2. tuple.index()

    Returns the index of the first occurrence of a specified value in a tuple