#Create a new set num_set = set([0, 1, 2, 3, 4, 5]) #Discard number 4 num_set.discard(4) print(num_set)
python 集合删除元素
猜你喜欢
转载自www.cnblogs.com/sea-stream/p/9956383.html
今日推荐
周排行