python列表可以加可以乘
list=['abcd',786,2.23,'runoob',70.2] tinylist = [123,'runoob'] print(list) print(list[0]) print(list[1:3]) print(list[2:]) print(tinylist*2) print(list+tinylist) list[0]=1234 print(list) list2 = [1,] print(list2) a,b = [],[1] print(type(a),type(b)) #<class 'list'> <class 'list'>