🌈 搜索
📅  最后修改于: 2022-03-11 15:04:45.590000             🧑  作者: Mango
a= [1,1,1,2,2,3] delete_list = [1,3] delete_list.each do |del| a.delete_at(a.index(del)) end