Python 教程 / 元组方法 元组方法 Python 元组方法 方法 描述 count() 返回元组中指定值出现的次数。 index() 在元组中搜索指定的值并返回它被找到的位置。 ← 字典方法 集合方法 →