可以先定义一个空列表[],然后使用append方法将for语句写出的列表加入空列表中
l = [] l.append([1,2,3]) print l #输出为[[1, 2, 3]]
a=[[1,2],[3,4]][j for i in a for j in i][1, 2, 3, 4]