a = [1,5,7,9]
b = [2,2,6,8]
a.extend(b)
print(a)
print(a+b)
合并列表
猜你喜欢
转载自blog.csdn.net/Da___Vinci/article/details/92806751
今日推荐
周排行