Python成长记二(基本数据类型列表、元组、集合、字典)

列表: 定义:type([1,2,3,4,5,6]) ---->list 特性: type(["hello","world",1,9]) --->list type(["hello","world",1,9,True,False])--->list type([[1,2],[3,4],[True,False]])---->list (嵌套列表) 列表的基本操作: ["a","b","c","d"]
相关文章
相关标签/搜索