a = [1, 2, 3]
b=[4, 5, 6]
两个列表合并只需要直接相加就行。
c=a+b=[1, 2, 3, 4, 5, 6]
posted on 2015-03-28 10:52 hope1900 阅读(393) 评论(0) 编辑 收藏 举报