Python 内建函数
创建包含水果名称的列表:
x = list(('apple', 'banana', 'cherry'))
运行实例
list() 函数创建列表对象。
列表对象是有序可更改的集合。
请在此章节学习更多有关列表的知识:Python 列表。
list(iterable)