set.add(elem) The add() method doesn't add an element to the set if it's already present in it otherwise it will get added to the set.
確定! 回上一頁