在Python中,是否有一种交错两个相同长度列表的好方法?
说我给[1,2,3]和[10,20,30].我想把它们变成[1,10,2,20,3,30].
[1,2,3]
[10,20,30]
[1,10,2,20,3,30]
python list
list ×1
python ×1