Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/
Python
Python
/Python Grammar/Python Operator/
python Spread Operator
Search

python Spread Operator

Creator
Creator
Seonglae Cho
Created
Created
2020 Sep 10 7:56
Editor
Editor
Seonglae Cho
Edited
Edited
2021 May 31 7:13
Refs
Refs
*a
 
How to spread a python array
Asked This question already has answers here: Closed 2 years ago. In JS I can do this const a = [1,2,3,4] const b = [10, ...a] console.log(b) // [10,1,2,3,4] Is there a similar way in python?
How to spread a python array
https://stackoverflow.com/questions/48451228/how-to-spread-a-python-array
How to spread a python array
 

 
 
 
 
 
 
 
 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/
Python
Python
/Python Grammar/Python Operator/
python Spread Operator
Copyright Seonglae Cho