代码示例:(标识:python_tuple_constructor)
python_tuple_constructor.py
thistuple = tuple(("apple", "banana", "cherry"))
print(thistuple)
运行结果: