列表
摘要:1.列表的定义 列表是一组有序的数据结构,用方括号括起来,可通过索引进行访问 l=[1,2,3,4,5] 2.列表的创建 l=[ ] l=list() 3.列表的索引,步长 li=['Alex',123,True,(1,2,3,'wusir'),[1,2,3,'小明',],{'name':'Alex
阅读全文
posted @ 2018-12-29 16:40
posted @ 2018-12-29 16:40
posted @ 2018-12-29 15:37
posted @ 2018-12-28 16:16
posted @ 2018-12-27 15:30
posted @ 2018-12-26 17:29