1.可变类型之列表 列表用 [ ]来定义是可变的,可以通过索引值来去查询里面的字段可以可以追加,删除等 names='zhangyang guyun xiangpeng xuliangwei' names = ['zhang', 'zhuang', 'chen', 'qiang'] name_list = [['zhang', 'zhuang'], ['chen', 'qiang']] list_num = [1, 4, 5, 2, 3, 4, 52, 54] print(len(names))