Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

append multiple objects to list python

m = [6]
m += [1,"foo",2,"bar"]

print(m)

[6,1,"foo",2,"bar"]
 
PREVIOUS NEXT
Tagged: #append #multiple #objects #list #python
ADD COMMENT
Topic
Name
2+8 =