1.列表是python的一种可变序列,可以存储不同类型的数据2.访问列表中的元素:(1)通过列表元素的索引访问与字符串类似,列表索引左边从0开始,右边从-1开始(2)通过for、while循环访问# 列表 = [数字,字符串,列表,元组,字典} li = [1,'abc',[1,2,3],(1,2,3),{'a':1,'b':2,'c':3}] #通过for循环访问 for i in li: print(i) #通过while循环访问,首先要获取列表的长度 print('-'*100) length = len(li) j = 0 while j < length: pr...