Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to spread an array in python

a = [1,2,3]
b = [*a, 4] # [1,2,3,4]
 
PREVIOUS NEXT
Tagged: #spread #array #python
ADD COMMENT
Topic
Name
1+8 =