错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Built-in Data Structure: Tuple

  • A. Lakshmi Muddana,
  • Sandhya Vinayakam

摘要

Tuple is one of the built-in data structures in Python. A tuple object is an ordered sequence of elements of the same or heterogeneous data types. As the elements are ordered, elements are accessed using the index, which is similar to a list. But tuple object is immutable, i.e., once the object is created, it cannot be changed by addition, deletion, or modification operations.