list_lambda = lambda x: [i for row in x for i in row] List = [[1,2,3], [4,5,6], [7,8,9]] result = list_lambda(List) print(result)