📅  最后修改于: 2022-03-11 14:57:45.797000             🧑  作者: Mango
List first = [1,2,3,4,5,6,7];
List second = [3,5,6,7,9,10];
List output = [];
first.forEach((element) {
if(!second.contains(element)){
output.add(element);
}
});
//at this point, output list should have the answer