如果想将set集合添加到list集合里面,可以使用list.extend方法: s = {1, 2, 3} l = [4, 5, 6] l.extend(s) print(l) # 输出 [4, 5, 6, 1, 2, 3]