a
= [3,4]
a
= a
+[5,6]
a
= [3,4]
a
.extend
([5,6])
a
= [3,4]
a
.append
(5)
a
.append
(6)
list()
import itertools
as it
it
.chain
(*[[3,
4],[5,
6]])
import numpy
as np
np
.concatenate
(([3,4],[5,6]))
import numpy
as np
np
.hstack
(([3,4],[5,6]))
转载请注明原文地址: https://mac.8miu.com/read-3153.html