首页 › 答案 › 题库 › 其它知识竞赛

从集合中删除元素的方法有:

从集合中删除元素的方法有:
A.s.remove(x)
B.s.discard(x)
C.s.pop(x)
D.s.clear()
正确答案:ABCD
标签:元素 方法