在Python中,最简洁的方式是如何将集合的元素附加到列表中?>>> a = [1,2] >>> b = set([3,4]) >>> a.append(list(b)) >>> a [1, 2, [3, 4]] 但我想要的是:[1, 2, 3, 4]