1、可以使用"+"号完成操作

输出为:
[1, 2, 3, 8, 'google', 'com']
2、使用extend方法

输入相同
3、使用切片

输出相同
PS:len(l1)代表要将l2插入l1中的位置
例如

输出为:

又如:

输出为:

总结:第一种方方法思路比较清晰,就是运算符的重载;第二种方法比较简洁,但会覆盖原始list;第三种方法功能比较强大,可以将一个列表插入另一个列表的任意位置
以上这篇Python将多个list合并为1个list的方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。