【Python】將多個list合併爲1個list

轉載自:https://blog.csdn.net/roytao2/article/details/54180182 1可使用"+"號完成操做 輸出爲:html [1, 2, 3, 8, 'google', 'com']post 2.使用extend方法 、google 輸入相同spa 3使用切片 輸出相同.net PS:len(l1)表明要將l2插入l1中的位置3d 例如htm 輸出爲:blog
相關文章
相關標籤/搜索