执行下面 Python 代码后,输出的结果为 2。( )
s = {10, 20, 30}
s.remove(20)
s.discard(40)
print(len(s))
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析