Please enable JavaScript.
Coggle requires JavaScript to display documents.
list (access (x.index(element), x[0] from 0 to n-1, x[-1] from -1 to -n,…
list
-
add
append 怼上
-
x.append([2,3,4]) > [1,2,[2,3,4]]
extend 合并 *must be list
-
x.extend([2,3,4]) > [1,2,2,3,4]
concatenate [2,3]+[5,6] >[2,3,5,6]
insert x.insert(2,"hello") >[0,1,"hello",2]
-
-
-
-
-
-