Python 3 教程
Python3 內(nèi)置函數(shù)
tuple 函數(shù)將可迭代系列(如列表)轉(zhuǎn)換為元組。
以下是 tuple 的語法:
tuple( iterable )
返回元組。
以下展示了使用 tuple 的實例: