set.add(x) :將變數x 加到集合中。 set.remove(x) :從集合中刪除變數x,如果集合沒有x,發生KeyError。 set.pop() :從集合刪除一個元素,然後回傳 ...
確定! 回上一頁