티스토리 뷰

공부

[Python] Merge array

승가비 2020. 2. 8. 23:07
728x90
data1 = [1, 2, 3]
data2 = [4, 5, 6]

data = data1 + data2

print(data)

# output : [1, 2, 3, 4, 5, 6]

[출처] https://stackoverflow.com/questions/46866105/how-do-i-merge-arrays-in-python

728x90
댓글