티스토리 뷰

공부

[Python] Merge array

seunggabi 승가비 2020. 2. 8. 23:07
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

댓글
댓글쓰기 폼