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"]
相關文章
相關標籤/搜索