列表推导式. [i for j in a for i in j]. 2. itertools. from itertools import chain list(chain.from_iterable(a)). 3.sum小技巧. sum(a, []) ...
確定! 回上一頁