我想弄清楚如何从循环内的groovy中的列表中删除一个项目。 ... list = [1,2,3,4] list.remove(2) assert list == [1,2,4] // or with a loop list ...
確定! 回上一頁