排列组合合并Python里两个list的元素import itertoolsa,b=[1,2,3],[4,5,6]print(list(itertools.product(a,b)))
L1=[1]L2=[2]L3=L1+L2