写法很多,只写一种方便自己找 使用numpy的r_进行合并 import numpy a=[1,2,3] b=[3,4,5] print numpy.r_[a, b] 运行结果 转载于:https://www.cnblogs.com/lurenjia1994/p/9760582.html